smlinux/xorg/imlib2/imlib2.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

34 lines
845 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=imlib2
version=1.5.1
build=1sml
homepage="https://sourceforge.net/projects/enlightenment/"
download="https://sourceforge.net/projects/enlightenment/files/imlib2-src/$version/imlib2-$version.tar.bz2"
desc="General image handling library for X11 and Gtk"
requires="bzip2 zlib libpng giflib libjpeg-turbo libxcb libxau freetype libxext libtiff"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix= \
--disable-static
make
make install DESTDIR=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
3409c93c37c11fd9ebfad98ffa2defc7d62efaba95c1f8193430f4dee14bdd27eccd224ee72312c26994dd171392afa5daf8de9007d45244179e15159a0537aa imlib2-1.5.1.tar.lz
"