summaryrefslogtreecommitdiff
path: root/user/gamin/APKBUILD
blob: b7d0461fcd5419ee3877ccc31190772a6e36da44 (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
38
39
40
41
42
43
44
45
46
47
48
49
# Maintainer: 
pkgname=gamin
pkgver=0.1.10
pkgrel=13
pkgdesc="Library for file and directory monitoring"
url="http://www.gnome.org/~veillard/gamin"
arch="all"
license="LGPL-2.0+"
subpackages="$pkgname-dev"
depends=""
makedepends="glib-dev"
source="https://www.gnome.org/~veillard/$pkgname/sources/$pkgname-$pkgver.tar.gz
	fix-deprecated-const.patch
	fix-pthread-mutex.patch
	deadlock.patch
	"

prepare() {
	update_config_sub
	default_prepare
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static \
		--with-threads \
		--without-python \
		--disable-debug-api \
		--disable-debug \
		--libexecdir=/usr/lib/gamin
	make
}

check() {
	make check
}

package() {
	export MKDIRPROG="mkdir -p"
	make DESTDIR="$pkgdir" install
}

sha512sums="21bfe6fcf8fb3117cd5a08c8ce3b8d0d1dd23e478e60a95b76c20d02cc29b050dde086578d81037990484ff891c3e104d2cbbf3d294b4a79346b14a0cae075bb  gamin-0.1.10.tar.gz
c4c10bee70c7231db395cbfe5bdf513ade6be599a11a9d35888ddfaca42d619fe2b5e87c2b2bab469ea98ba718bc01711252313ba5f53c392379b669f5b2902b  fix-deprecated-const.patch
70628fc39521ea8bc4a40b009d0881f6ee540334a31b2f0cb67dde0f75808c69feb78088ad24c3c4a0dec9fa59e87960fd81d1a2e56963ce9268d0a5e14f88e8  fix-pthread-mutex.patch
183bb2188fadc32c47ceab8c7fe339e7485c9a57f892b011179ae2be64a16f92e031fcdf2a55959a08c482a82adbad0f3270d1df7441532d0bdffa786ba1de94  deadlock.patch"