smlinux/xorg/libxt/libxt.SMBuild

34 lines
718 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libxt
version=1.2.0
build=2sml
homepage="https://xorg.freedesktop.org/"
download="https://www.x.org/releases/individual/lib/libXt-$version.tar.bz2"
desc="X11 toolkit intrinsics library"
requires="libsm libx11"
prepbuilddir() {
mkandenterbuilddir
rm -rf libXt-$version
tar xf $srcdir/libXt-$version.tar.?z*
cd libXt-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--disable-static
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
85b12a3c483fdd41293e72b77e601f25562c35bd602582c2d47c4f6a100b3dd5f8ccfd23c056ad241ccdd21d079b2ad932cb8cb8324f0a6ed4db5a90d4b85876 libXt-1.2.0.tar.lz
"