wok-current annotate gamin/receipt @ rev 2833
gamin: Reduce size with strip -s on libs (-68k)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 30 14:47:39 2009 +0200 (2009-04-30) |
parents | e97c81ccdba0 |
children | 96a2c64fe0bd |
rev | line source |
---|---|
pankso@255 | 1 # SliTaz package receipt. |
pankso@255 | 2 |
pankso@255 | 3 PACKAGE="gamin" |
pankso@255 | 4 VERSION="0.1.9" |
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 \ |
pascal@1439 | 24 $CONFIGURE_ARGS && |
pascal@1439 | 25 make && |
pankso@255 | 26 make DESTDIR=$PWD/_pkg install |
pankso@255 | 27 } |
pankso@255 | 28 |
pankso@255 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@255 | 30 genpkg_rules() |
pankso@255 | 31 { |
pankso@255 | 32 mkdir -p $fs/usr/lib |
pankso@255 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@255 | 34 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib |
pankso@2833 | 35 strip -s $fs/usr/lib/$PACKAGE/* |
pankso@255 | 36 } |