summaryrefslogblamecommitdiff
path: root/user/imlib2/APKBUILD
blob: 5771dc2965ff776925fbec556642c1af88b7681f (plain) (tree)
1
2
3
4
5
6
7
8
9

              

            



                                                    
          

                                                                  

                                                  


                                                                                              











                                            







                             



                  


                                    
                                                                                                                                                                   
# Maintainer: 
pkgname=imlib2
pkgver=1.6.1
pkgrel=1
pkgdesc="Image manipulation library"
url="https://sourceforge.net/projects/enlightenment"
arch="all"
license="Imlib2"
depends=""
depends_dev="freetype-dev libxext-dev libsm-dev"
makedepends="$depends_dev tiff-dev giflib-dev bzip2-dev libpng-dev
	libjpeg-turbo-dev zlib-dev util-linux-dev"
subpackages="$pkgname-dev"
source="https://downloads.sourceforge.net/enlightenment/$pkgname-src/$pkgname-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc/imlib2 \
		--x-libraries=/usr/lib \
		--disable-mmx \
		--disable-amd64 \
		--enable-visibility-hiding \
		--with-x \
		--with-bzip2 \
		--with-gif \
		--with-jpeg \
		--with-png \
		--with-tiff \
		--with-zlib
	make
}

check() {
	make check
}

package() {
	make DESTDIR=$pkgdir install
}

sha512sums="ecdbdbfe8767ec2b1f22ce664cbab5e1d3f75be7a3c8f37488f5243b3c31dbc433414b8d50d2d1b70c67a80e31e42cc5398161991ce3955e991c114c82ddd58f  imlib2-1.6.1.tar.bz2"