mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 05:37:13 +08:00
32 lines
865 B
Bash
32 lines
865 B
Bash
|
#
|
||
|
# Apps Packages for Chakra, part of chakra-project.org
|
||
|
#
|
||
|
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
||
|
|
||
|
# include global config
|
||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||
|
|
||
|
pkgname=libgeotiff
|
||
|
pkgver=1.3.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="A TIFF based interchange format for georeferenced raster imagery"
|
||
|
arch=('i686' 'x86_64')
|
||
|
license=('custom')
|
||
|
url="http://www.remotesensing.org/geotiff"
|
||
|
depends=('libtiff' 'proj' 'libjpeg>=7')
|
||
|
options=('!makeflags')
|
||
|
source=(ftp://ftp.remotesensing.org/pub/geotiff/libgeotiff/$pkgname-$pkgver.tar.gz)
|
||
|
md5sums=('6ac3c22e44711e9a3add9044e40b9527')
|
||
|
|
||
|
build() {
|
||
|
cd "$srcdir/$pkgname-$pkgver"
|
||
|
./configure --prefix=/usr
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "$srcdir/$pkgname-$pkgver"
|
||
|
make DESTDIR="$pkgdir" install
|
||
|
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/libgeotiff/LICENSE"
|
||
|
}
|