summaryrefslogtreecommitdiff
path: root/user/libidl/APKBUILD
blob: 4d7322eca08f47fe1629ba6e6faff1dd57700c5a (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: 
pkgname=libidl
pkgver=0.8.14
pkgrel=3
pkgdesc="Library for parsing Interface Definition Language files"
url="https://www.gnome.org/"
arch="all"
options="!check"  # No test suite.
license="LGPL-2.0-only"
depends=""
makedepends="bison flex glib-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/libIDL/${pkgver%.*}/libIDL-$pkgver.tar.bz2"
builddir="$srcdir"/libIDL-$pkgver

prepare() {
	update_config_sub
	default_prepare
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="906dde087908acd64b209fe466a89ae52a6ea23601cb30092063a6e062b1b6640fc2d5f422efcdd52b2b36ce20e6c244da6205fde0bdcec787fe64058be7adac  libIDL-0.8.14.tar.bz2"