-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
34 lines (31 loc) · 943 Bytes
/
template
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
# Template file for 'gamin'
pkgname=gamin
version=0.1.10
revision=2
build_style=gnu-configure
configure_args="--disable-static"
# no -python subpackage: failed to cross build for armv7hf
hostmakedepends="automake libtool pkg-config"
makedepends="glib-devel"
short_desc="Library providing the FAM File Alteration Monitor API"
maintainer="yopito <pierre.bourgin@free.fr>"
license="GPL-2.0-or-later"
homepage="http://www.gnome.org/~veillard/gamin/"
distfiles="$GNOME_SITE/gamin/0.1/gamin-${version}.tar.bz2"
checksum=a59948b20ce2f14136c013f155abb8c8d51db2ea167c063ff33461e453fec10a
pre_configure() {
autoreconf -fi
}
post_install() {
# "--disable-static" configure arg has no effect
rm ${DESTDIR}/usr/lib/libgamin_shared.a
}
gamin-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig/gamin.pc
}
}