blob: 85f255925ebc3582123b7d0c61f9eefe88a5ff88 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer:
pkgname=giblib
pkgver=1.2.4
pkgrel=11
pkgdesc="Graphics library built atop Imlib2"
url="http://linuxbrit.co.uk/details.html"
arch="all"
license="MIT-feh"
subpackages="$pkgname-doc $pkgname-dev"
depends=""
depends_dev="freetype-dev imlib2-dev libx11-dev libxext-dev zlib-dev"
makedepends="$depends_dev"
subpackages="$pkgname-doc"
source="http://distfiles.gentoo.org/distfiles/$pkgname-$pkgver.tar.gz"
prepare() {
default_prepare
update_config_sub
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" docsdir=/usr/share/doc/giblib install
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}
sha512sums="4866df223e6d219a5c9a327874bcd67260c83fba8f99862222df41ef86fb31efa0172a777bf46c853ca380dc2a64bbd41bf4fd658fcb84a924cab4e0f525dcfd giblib-1.2.4.tar.gz"
|