wok-next view gamin/receipt @ rev 21196

updated scrollz again (2.2.3 -> 2.3)
author Hans-G?nter Theisgen
date Thu Oct 03 16:09:40 2019 +0100 (2019-10-03)
parents f48456621a9d
children
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="devel@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://people.gnome.org/~veillard/gamin/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.gnome.org/~veillard/gamin/sources/$TARBALL"
14 BUILD_DEPENDS="glib-dev gtk2-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 # Don't use deprecated G_CONST_RETURN. Fixes building with newer glib versions.
19 # (gamin v0.1.10)
20 cd server
21 sed 's/^G_CONST_RETURN/const/'\
22 -i gam_node.c gam_node.h gam_subscription.c gam_subscription.h \
23 || return 1
24 cd ..
26 export have_abstract_sockets=yes
27 export ac_cv_have_abstract_sockets=yes
29 ./configure \
30 --libexecdir=/usr/lib/gamin \
31 $CONFIGURE_ARGS &&
32 fix libtool &&
33 make &&
34 mkdir -p $install/usr/include &&
35 make -j1 DESTDIR=$install install
36 }
38 genpkg_rules() {
39 case $PACKAGE in
40 gamin)
41 copy @std
42 DEPENDS="glib"
43 ;;
44 *-dev)
45 copy @dev
46 ;;
47 esac
48 }