wok-next view gamin/receipt @ rev 20528
Up tzdata (2018d)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 24 11:10:32 2018 +0200 (2018-03-24) |
parents | c3a368c0cddb |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gamin"
4 VERSION="0.1.10"
5 CATEGORY="system-tools"
6 SHORT_DESC="File and directory monitoring system"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="http://www.gnome.org/~veillard/gamin/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.gnome.org/~veillard/gamin/sources/$TARBALL"
14 CROSS_BUGS="error: cannot run test program while cross compiling"
16 BUILD_DEPENDS="glib-dev gtk+-dev"
17 SPLIT="gamin-dev"
19 compile_rules() {
20 # Don't use deprecated G_CONST_RETURN. Fixes building with newer glib versions.
21 # (gamin v0.1.10)
22 cd server
23 sed 's/^G_CONST_RETURN/const/'\
24 -i gam_node.c gam_node.h gam_subscription.c gam_subscription.h \
25 || return 1
26 cd ..
28 export have_abstract_sockets=yes
29 export ac_cv_have_abstract_sockets=yes
31 ./configure \
32 --prefix=/usr \
33 --sysconfdir=/etc \
34 --libexecdir=/usr/lib/gamin \
35 $CONFIGURE_ARGS &&
36 make &&
37 mkdir -p $DESTDIR/usr/include &&
38 make -j1 DESTDIR=$DESTDIR install
39 }
41 genpkg_rules() {
42 case $PACKAGE in
43 gamin)
44 copy @std
45 DEPENDS="glib"
46 ;;
47 *-dev)
48 copy @dev
49 ;;
50 esac
51 }