smlinux/xorg/libxtst/libxtst.SMBuild
PktSurf 02d504d50f Added xdg-utils to xorg
Discarded --docdir build option, double quotes and made minor changes to several xorg build files
2023-06-06 15:03:00 +05:30

35 lines
786 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libxtst
version=1.2.3
build=2sml
homepage="https://xorg.freedesktop.org/"
download="https://www.x.org/releases/individual/lib/libXtst-$version.tar.bz2"
desc="X11 Testing -- Resource extension library"
requires="libxext libxfixes libxi"
prepbuilddir() {
mkandenterbuilddir
rm -rf libXtst-$version
tar xf $srcdir/libXtst-$version.tar.?z*
cd libXtst-$version
fixbuilddirpermissions
}
build() {
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
"