smlinux/xorg/libxinerama/libxinerama.SMBuild

35 lines
788 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libxinerama
version=1.1.4
build=1sml
homepage="https://xorg.freedesktop.org/"
download="https://www.x.org/releases/individual/lib/libXinerama-$version.tar.bz2"
desc="X11 Xinerama extension library"
requires="libxext"
prepbuilddir() {
mkandenterbuilddir
rm -rf libXinerama-$version
tar xf $srcdir/libXinerama-$version.tar.?z*
cd libXinerama-$version
fixbuilddirpermissions
}
build() {
CFLAGS+=" -DHAVE__XEATDATAWORDS=1" \
./configure \
--prefix=/usr \
--disable-static
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
cd2973ab82d3c6c913c1cddf0b96b4fd333f7fb2ae0bfff6d356f23a4a41753c1bc7185dec56fc848170acf85771bf6052e1592f55bb61ac0ffbfd85fd60c896 libXinerama-1.1.4.tar.lz
"