smlinux/xorg/libxrender/libxrender.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
785 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libxrender
version=0.9.10
build=2sml
homepage="https://xorg.freedesktop.org/"
download="https://www.x.org/releases/individual/lib/libXrender-$version.tar.bz2"
desc="X Rendering Extension client library"
requires="libx11"
prepbuilddir() {
mkandenterbuilddir
rm -rf libXrender-$version
tar xf $srcdir/libXrender-$version.tar.?z*
cd libXrender-$version
fixbuilddirpermissions
}
build() {
CFLAGS+=" -DHAVE__XEATDATAWORDS=1" \
./configure \
--prefix= \
--disable-static
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
55eb43e88be08140b4bdb6fe22d239238712ee293734d1e21789a575366c47c4f05828f6b4e75da288525ddd0a9d168c29d6968680dfa444d118a0b5c418da1b libXrender-0.9.10.tar.lz
"