summaryrefslogtreecommitdiffstats
path: root/main/gdl/APKBUILD
blob: fb03c64c4a6395b16fb21848709d1ff858897a04 (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
# 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 --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"