mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: xdg-utils
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
name=xdg-utils
|
||||
revision=1
|
||||
from_source=xdg-utils
|
||||
imagedeps="meson build-essential xmlto"
|
||||
hostdeps="xgcc xbinutils pkgconfig"
|
||||
deps="base"
|
||||
|
||||
configure() {
|
||||
cp -rp ${source_dir}/* .
|
||||
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR=${dest_dir} install
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
name=xdg-utils
|
||||
version=1.2.1
|
||||
source_method=tarball
|
||||
tarball_url="https://gitlab.freedesktop.org/xdg/xdg-utils/-/archive/v${version}/xdg-utils-v${version}.tar.gz"
|
||||
tarball_sha512="9b031d9c65247d0bbe0ce11fba10f88e68fa11e8d0fe5d1b09876edd21f59896a4d3be9a23f10afb7436446580b4d38fba99c622767eecec3951be4f5e4aad3e"
|
||||
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||
prepare() {
|
||||
autoreconf -fvi
|
||||
}
|
||||
Reference in New Issue
Block a user