mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 06:58:22 +00:00
ports: libxtst
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
name=libxtst
|
||||||
|
revision=1
|
||||||
|
from_source=libxtst
|
||||||
|
imagedeps="build-essential"
|
||||||
|
hostdeps="xgcc xbinutils pkgconfig util-macros"
|
||||||
|
deps="base xorgproto libx11 libxext libxi"
|
||||||
|
|
||||||
|
configure() {
|
||||||
|
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --enable-shared --disable-static
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR=${dest_dir} install
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
name=libxtst
|
||||||
|
version=1.2.5
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://www.x.org/archive/individual/lib/libXtst-${version}.tar.xz"
|
||||||
|
tarball_sha512="848fa580d7abccd48c9ca3440f92e299839ada0912ed60d38d4d4f5bf37431cd02d7059265ab4e524c3e2cb9c368b9b90b863d1ed97d74979ef8811fc5e635a9"
|
||||||
|
hostdeps="autoconf automake util-macros pkgconfig libtool"
|
||||||
|
prepare() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user