aboutsummaryrefslogtreecommitdiffstats
path: root/main/gdl/APKBUILD
blob: 415b5f911de50b457f717e25915e746d589a3b91 (plain)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gdl
pkgver=2.30.1
pkgrel=5
pkgdesc="Gnome Devtool Libraries"
url="http://www.gnome.org/"
arch="all"
license="GPL"
makedepends="gtk+-dev libxml2-dev intltool"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"

build() { 
	cd "$srcdir"/$pkgname-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="4af16be490b47ce4e828a2fb93633856  gdl-2.30.1.tar.bz2"