contrib/imlib/Pkgfile

39 lines
1.0 KiB
Plaintext
Raw Normal View History

2008-10-23 12:53:15 +02:00
# Description: An image loading and rendering library.
2007-05-08 02:51:20 +02:00
# URL: http://ftp.acc.umu.se/pub/GNOME/sources/imlib/1.9/
2008-03-26 03:45:31 +01:00
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
2007-05-08 02:51:20 +02:00
# Packager: Daniel Mueller, daniel at danm dot de
2008-04-22 09:22:22 +02:00
# Depends on: gtk1 libungif libtiff libpng
2007-05-08 02:51:20 +02:00
name=imlib
version=1.9.15
2008-10-23 12:53:15 +02:00
release=2
2007-05-08 02:51:20 +02:00
source=(http://ftp.gnome.org/pub/GNOME/sources/imlib/${version%.*}/imlib-$version.tar.bz2
2008-10-23 12:53:15 +02:00
imlib-1.9.15-configure.patch
imlib-1.9.15-security.patch
imlib-1.9.15-bpp16-CVE-2007-3568.patch
imlib-1.9.15-fix-rendering.patch
imlib-1.9.15-asneeded.patch
gtk-1-for-imlib.m4.bz2)
2007-05-08 02:51:20 +02:00
build() {
cd imlib-$version
2008-04-22 09:22:22 +02:00
2008-10-23 12:53:15 +02:00
patch -p 1 -i $SRC/imlib-1.9.15-configure.patch
patch -p 1 -i $SRC/imlib-1.9.15-security.patch
patch -p 1 -i $SRC/imlib-1.9.15-bpp16-CVE-2007-3568.patch
patch -p 1 -i $SRC/imlib-1.9.15-fix-rendering.patch
patch -p 1 -i $SRC/imlib-1.9.15-asneeded.patch
mkdir m4
bzcat $SRC/gtk-1-for-imlib.m4.bz2 > m4/gtk-1-for-imlib.m4
autoreconf -i
2007-05-08 02:51:20 +02:00
./configure \
--prefix=/usr \
2008-10-23 12:53:15 +02:00
--mandir=/usr/man
2007-05-08 02:51:20 +02:00
make
make DESTDIR=$PKG install
}