wok-6.x annotate gamin/receipt @ rev 8488

get-xlite: unbreak download loop
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 08 22:41:18 2011 +0100 (2011-02-08)
parents f21c160be928
children 9aaf5b54d2a9
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 &&
gokhlayeh@8252 27 make -j1 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 }