wok view gamin/receipt @ rev 19991
Up busybox (1.27.1), vala (0.36.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 21 16:38:46 2017 +0200 (2017-07-21) |
parents | a00bf44ed23d |
children | 86790a278e70 |
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnome.org/~veillard/gamin/"
11 WGET_URL="http://www.gnome.org/~veillard/gamin/sources/$TARBALL"
13 #HOST_ARCH="i486 arm"
14 CROSS_BUGS="error: cannot run test program while cross compiling"
16 DEPENDS="glib"
17 BUILD_DEPENDS="pkg-config glib glib-dev gtk+-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # Don't use deprecated G_CONST_RETURN. Fixes building with newer glib versions.
23 # (gamin v0.1.10)
24 cd server
25 sed 's/^G_CONST_RETURN/const/'\
26 -i gam_node.c gam_node.h gam_subscription.c gam_subscription.h \
27 || return 1
28 cd ..
30 export have_abstract_sockets=yes
31 export ac_cv_have_abstract_sockets=yes
33 ./configure \
34 --prefix=/usr \
35 --sysconfdir=/etc \
36 --libexecdir=/usr/lib/gamin \
37 $CONFIGURE_ARGS &&
38 make &&
39 mkdir -p $DESTDIR/usr/include &&
40 make -j1 DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
49 strip -s $fs/usr/lib/$PACKAGE/*
50 }