smlinux/xorg/libxtst/libxtst.SMBuild

32 lines
729 B
Text
Executable file

app=libxtst
version=1.2.3
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://www.x.org/releases/individual/lib/libXtst-1.2.3.tar.bz2"
desc="X11 Testing -- Resource extension library"
requires="libxext libxfixes libxi"
build() {
mkandenterbuilddir
rm -rf libXtst-$version
tar xf $srcdir/libXtst-$version.tar.?z*
cd libXtst-$version
fixbuilddirpermissions
CFLAGS="$CFLAGS -DHAVE__XEATDATAWORDS=1" \
./configure \
--prefix="" \
--disable-static
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
7889b0a225abc53a9abb7194f9be8e637f209b2a294326478e4a4bdff24db6a0fbfd52f2f4ee02f83a7d3026e7effd591432fe12464c459297f9888594476072 libXtst-1.2.3.tar.lz
"