2014-04-02 05:25:32 +08:00
|
|
|
# Maintainer: UtG <utg.chakra.linux[AT]gmail[dot]com>
|
2011-02-26 22:58:38 +08:00
|
|
|
|
|
|
|
pkgname=freeimage
|
2014-04-02 05:25:32 +08:00
|
|
|
pkgver=3.16.0
|
2011-02-26 22:58:38 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Library project for developers who would like to support popular graphics image formats."
|
2013-02-21 04:44:41 +08:00
|
|
|
arch=('x86_64')
|
2011-02-26 22:58:38 +08:00
|
|
|
license=('GPL' 'custom:FIPL')
|
|
|
|
url="http://freeimage.sourceforge.net/"
|
|
|
|
depends=('gcc-libs')
|
|
|
|
makedepends=('hd2u')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('programming')
|
2014-04-02 05:25:32 +08:00
|
|
|
source=(
|
|
|
|
"http://downloads.sourceforge.net/project/freeimage/Source%20Distribution/${pkgver}/FreeImage${pkgver//./}.zip")
|
|
|
|
md5sums=('1a2d1fff6204adbd479cc98818892fc1')
|
2011-02-26 22:58:38 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cp -r FreeImage FreeImagefip
|
|
|
|
|
|
|
|
cd FreeImage
|
|
|
|
make
|
|
|
|
|
|
|
|
cd ${srcdir}/FreeImagefip
|
|
|
|
make -f Makefile.fip
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd FreeImage
|
2011-09-05 01:52:25 +08:00
|
|
|
make DESTDIR=$pkgdir install
|
2011-02-26 22:58:38 +08:00
|
|
|
|
2011-09-05 01:52:25 +08:00
|
|
|
cd $srcdir/FreeImagefip
|
|
|
|
make -f Makefile.fip DESTDIR=$pkgdir install
|
2011-02-26 22:58:38 +08:00
|
|
|
|
2014-04-02 05:25:32 +08:00
|
|
|
# License
|
2011-09-05 01:52:25 +08:00
|
|
|
install -D -m644 $srcdir/FreeImage/license-fi.txt \
|
|
|
|
$pkgdir/usr/share/licenses/$pkgname/license-fi.txt
|
2011-02-26 22:58:38 +08:00
|
|
|
}
|