mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-10 03:01:44 +01:00
40 lines
856 B
Plaintext
40 lines
856 B
Plaintext
# Contributor:
|
|
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
|
|
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"
|