smlinux/xorg/libsm/libsm.SMBuild

34 lines
761 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libsm
version=1.2.3
build=2sml
homepage="https://xorg.freedesktop.org/"
download="https://xorg.freedesktop.org/releases/individual/lib/libSM-$version.tar.gz"
desc="X11 Session Management library"
requires="util-linux xorgproto xorg-macros xtrans libice"
prepbuilddir() {
mkandenterbuilddir
rm -rf libSM-$version
tar xf $srcdir/libSM-$version.tar.?z*
cd libSM-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--disable-static
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
d798b55854518afc0aa874736ef52b41fa9d9df9d9758a1da7bc3504a6e5813caca2df0e9cdcd9aa531d19e5ab9754e1c14d12512a58baf63b392136c3161a40 libSM-1.2.3.tar.lz
"