mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 06:07:15 +08:00
35 lines
824 B
Bash
35 lines
824 B
Bash
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=libtiff
|
|
pkgver=4.0.3
|
|
pkgrel=1
|
|
pkgdesc="Library for manipulation of TIFF images"
|
|
arch=('x86_64')
|
|
url="http://www.remotesensing.org/libtiff/"
|
|
license=('custom')
|
|
depends=('libjpeg-turbo' 'zlib' 'xz')
|
|
makedepends=('freeglut')
|
|
optdepends=('freeglut: for using tiffgt')
|
|
options=('!libtool')
|
|
source=("ftp://ftp.remotesensing.org/pub/libtiff/tiff-${pkgver}.tar.gz")
|
|
sha1sums=('652e97b78f1444237a82cbcfe014310e776eb6f0')
|
|
|
|
build() {
|
|
cd "${srcdir}/tiff-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "${srcdir}/tiff-${pkgver}"
|
|
# make check
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/tiff-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|