wok-6.x annotate gamin/receipt @ rev 19903
linld/tazboot: fix memcpy32
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 09 12:22:58 2017 +0200 (2017-04-09) |
parents | a00bf44ed23d |
children | 86790a278e70 |
rev | line source |
---|---|
pankso@255 | 1 # SliTaz package receipt. |
pankso@255 | 2 |
pankso@255 | 3 PACKAGE="gamin" |
pankso@3344 | 4 VERSION="0.1.10" |
pankso@271 | 5 CATEGORY="system-tools" |
pankso@255 | 6 SHORT_DESC="File and directory monitoring system." |
pankso@255 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
pankso@255 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@255 | 10 WEB_SITE="http://www.gnome.org/~veillard/gamin/" |
pankso@255 | 11 WGET_URL="http://www.gnome.org/~veillard/gamin/sources/$TARBALL" |
pankso@16276 | 12 |
pankso@16276 | 13 #HOST_ARCH="i486 arm" |
pankso@16276 | 14 CROSS_BUGS="error: cannot run test program while cross compiling" |
pankso@10388 | 15 |
pankso@10388 | 16 DEPENDS="glib" |
pankso@10388 | 17 BUILD_DEPENDS="pkg-config glib glib-dev gtk+-dev" |
pankso@255 | 18 |
pankso@255 | 19 # Rules to configure and make the package. |
pankso@255 | 20 compile_rules() |
pankso@255 | 21 { |
gokhlayeh@11492 | 22 # Don't use deprecated G_CONST_RETURN. Fixes building with newer glib versions. |
gokhlayeh@11492 | 23 # (gamin v0.1.10) |
gokhlayeh@11492 | 24 cd server |
gokhlayeh@11492 | 25 sed 's/^G_CONST_RETURN/const/'\ |
gokhlayeh@11492 | 26 -i gam_node.c gam_node.h gam_subscription.c gam_subscription.h \ |
gokhlayeh@11492 | 27 || return 1 |
gokhlayeh@11492 | 28 cd .. |
pankso@16276 | 29 |
pankso@16276 | 30 export have_abstract_sockets=yes |
pankso@16276 | 31 export ac_cv_have_abstract_sockets=yes |
pankso@16276 | 32 |
pankso@255 | 33 ./configure \ |
pankso@255 | 34 --prefix=/usr \ |
pankso@255 | 35 --sysconfdir=/etc \ |
pankso@255 | 36 --libexecdir=/usr/lib/gamin \ |
pankso@16276 | 37 $CONFIGURE_ARGS && |
pankso@3368 | 38 make && |
pankso@10388 | 39 mkdir -p $DESTDIR/usr/include && |
pankso@10388 | 40 make -j1 DESTDIR=$DESTDIR install |
pankso@255 | 41 } |
pankso@255 | 42 |
pankso@255 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@255 | 44 genpkg_rules() |
pankso@255 | 45 { |
pankso@255 | 46 mkdir -p $fs/usr/lib |
pascal@15004 | 47 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15004 | 48 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib |
pankso@2833 | 49 strip -s $fs/usr/lib/$PACKAGE/* |
pankso@255 | 50 } |