wok-next view gamin/receipt @ rev 21626
updated encodings (1.0.4 -> 1.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 16:03:31 2020 +0100 (2020-06-25) |
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 }