wok-6.x annotate garcon/receipt @ rev 10775

yaff: need to follow slitaz-dev-tools version (and so taged repos to include baba-scripts files)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 01 00:20:33 2011 +0200 (2011-06-01)
parents 152224d80dd5
children 57d4b7f3f25a
rev   line source
erjo@8014 1 # SliTaz package receipt.
erjo@8014 2
erjo@8014 3 PACKAGE="garcon"
erjo@8014 4 VERSION="0.1.5"
erjo@8014 5 CATEGORY="misc"
erjo@8014 6 SHORT_DESC="Xfce menu library"
erjo@8014 7 MAINTAINER="erjo@slitaz.org"
gokhlayeh@8041 8 DEPENDS="libgio"
gokhlayeh@8041 9 BUILD_DEPENDS="intltool libgio libgio-dev"
erjo@8014 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@8014 11 WEB_SITE="http://www.xfce.org"
erjo@8014 12 WGET_URL="http://archive.xfce.org/src/libs/garcon/0.1/$TARBALL"
erjo@8014 13
erjo@8014 14 # Rules to configure and make the package.
erjo@8014 15 compile_rules()
erjo@8014 16 {
erjo@8014 17 cd $src
erjo@8014 18 ./configure \
erjo@8014 19 --prefix=/usr \
erjo@8014 20 --infodir=/usr/share/info \
erjo@8014 21 --sysconfdir=/etc \
erjo@8014 22 --disable-login \
erjo@8014 23 --mandir=/usr/share/man \
erjo@8014 24 $CONFIGURE_ARGS &&
erjo@8014 25 make && make DESTDIR=$PWD/_pkg install
erjo@8014 26 }
erjo@8014 27
erjo@8014 28 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@8014 29 genpkg_rules()
erjo@8014 30 {
erjo@8014 31 mkdir -p $fs/usr \
erjo@8014 32 $fs/usr/share \
erjo@8014 33 $fs/usr/lib
erjo@8014 34
erjo@8014 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@8014 36 cp -a $_pkg/etc $fs/
erjo@8014 37 cp -a $_pkg/usr/share/desktop* $fs/usr/share
erjo@8014 38 }
erjo@8014 39