summaryrefslogtreecommitdiffstats
path: root/testing/inotify-tools/APKBUILD
blob: 730b05c23ec0e7f42d0ff12c577a398aeaeb2f0c (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
32
33
34
35
36
37
38
39
# Contributor:
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname="inotify-tools"
pkgver=3.14
pkgrel=1
pkgdesc="C library and CLI tools providing a simple interface to inotify"
url="http://github.com/rvoicilas/inotify-tools"
arch="all"
license="GPL"
depends=
makedepends="wget"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/downloads/rvoicilas/$pkgname/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	# apply patches here
	return 0
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
}

md5sums="b43d95a0fa8c45f8bab3aec9672cf30c  inotify-tools-3.14.tar.gz"