diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-28 15:19:41 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-28 15:19:41 +0000 |
commit | c8228783732fc8051d9f4f3f84381fbe7e0b36d6 (patch) | |
tree | 6e6e872371ac5506b3d2efdad4309e8bbe9ae49a /main/imlib2 | |
parent | 924b3f80e841f4378a610dec20c4b6863b36fdf2 (diff) | |
download | aports-c8228783732fc8051d9f4f3f84381fbe7e0b36d6.tar.bz2 aports-c8228783732fc8051d9f4f3f84381fbe7e0b36d6.tar.xz |
main/imlib2: rebuild against libpng-1.4
Diffstat (limited to 'main/imlib2')
-rw-r--r-- | main/imlib2/APKBUILD | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/main/imlib2/APKBUILD b/main/imlib2/APKBUILD index 99e48f2e38..dd4aa7d475 100644 --- a/main/imlib2/APKBUILD +++ b/main/imlib2/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=imlib2 pkgver=1.4.2 -pkgrel=1 +pkgrel=2 pkgdesc="Library that does image file loading and saving as well as rendering, manipulation, arbitrary polygon support" url="http://sourceforge.net/projects/enlightenment/" license="BSD" @@ -12,10 +12,14 @@ makedepends="tiff-dev giflib-dev bzip2-dev freetype-dev libxext-dev source="http://downloads.sourceforge.net/enlightenment/$pkgname-$pkgver.tar.bz2 bufferoverflow.patch" -build () -{ - cd $srcdir/$pkgname-$pkgver +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" patch -Np0 -i $srcdir/bufferoverflow.patch || return 1 +} + +build() { + cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc/imlib2 \ --x-libraries=/usr/lib \ @@ -23,6 +27,10 @@ build () --disable-amd64 \ || return 1 make || return 1 +} + +package() { + cd "$_builddir" make DESTDIR=$pkgdir install || return 1 install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING } |