wok annotate gamin/receipt @ rev 5579
tcc-common: mv libtcc.h to /usr/include
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 15 21:19:45 2010 +0200 (2010-05-15) |
parents | 96a2c64fe0bd |
children | 92d66db6d2b5 |
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@2608 | 8 DEPENDS="glib" |
pascal@1514 | 9 BUILD_DEPENDS="pkg-config glib glib-dev gtk+-dev" |
pankso@255 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@255 | 11 WEB_SITE="http://www.gnome.org/~veillard/gamin/" |
pankso@255 | 12 WGET_URL="http://www.gnome.org/~veillard/gamin/sources/$TARBALL" |
pankso@255 | 13 |
pankso@255 | 14 # Rules to configure and make the package. |
pankso@255 | 15 compile_rules() |
pankso@255 | 16 { |
pankso@255 | 17 cd $src |
pankso@255 | 18 ./configure \ |
pankso@255 | 19 --prefix=/usr \ |
pankso@255 | 20 --sysconfdir=/etc \ |
pankso@255 | 21 --libexecdir=/usr/lib/gamin \ |
pankso@255 | 22 --infodir=/usr/share/info \ |
pankso@255 | 23 --mandir=/usr/share/man \ |
pankso@3368 | 24 $CONFIGURE_ARGS && |
pankso@3368 | 25 make && |
pankso@3368 | 26 mkdir -p $PWD/_pkg/usr/include && |
pankso@255 | 27 make DESTDIR=$PWD/_pkg install |
pankso@255 | 28 } |
pankso@255 | 29 |
pankso@255 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@255 | 31 genpkg_rules() |
pankso@255 | 32 { |
pankso@255 | 33 mkdir -p $fs/usr/lib |
pankso@255 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@255 | 35 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib |
pankso@2833 | 36 strip -s $fs/usr/lib/$PACKAGE/* |
pankso@255 | 37 } |