mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
38 lines
919 B
Bash
38 lines
919 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
|
|
# Contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
pkgname=devil
|
|
pkgver=1.7.8
|
|
pkgrel=15
|
|
pkgdesc="Library for reading several different image formats"
|
|
arch=('i686' 'x86_64')
|
|
url="http://openil.sourceforge.net/"
|
|
depends=('libpng' 'libmng' 'jasper' 'lcms' 'openexr')
|
|
install=devil.install
|
|
options=('!docs' '!emptydirs')
|
|
license=('GPL')
|
|
source=(http://downloads.sourceforge.net/openil/DevIL-$pkgver.tar.gz libpng14.patch)
|
|
md5sums=('7918f215524589435e5ec2e8736d5e1d'
|
|
'0f839ccefd43b0ee8b4b3f99806147fc')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
# PNG patch.
|
|
patch -Np1 -i $srcdir/libpng14.patch
|
|
|
|
# Configure and build.
|
|
./configure \
|
|
--enable-ILU \
|
|
--prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
make prefix=$pkgdir/usr install
|
|
}
|