wok annotate garcon/receipt @ rev 15202

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 07 22:59:13 2013 +0000 (2013-09-07)
parents 4b61c84f0485
children bd213d6722be
rev   line source
erjo@8014 1 # SliTaz package receipt.
erjo@8014 2
erjo@8014 3 PACKAGE="garcon"
erjo@14816 4 VERSION="0.2.0"
erjo@8014 5 CATEGORY="misc"
erjo@8014 6 SHORT_DESC="Xfce menu library"
erjo@8014 7 MAINTAINER="erjo@slitaz.org"
pascal@15004 8 LICENSE="LGPL2"
erjo@8014 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@8014 10 WEB_SITE="http://www.xfce.org"
erjo@14816 11 WGET_URL="http://archive.xfce.org/src/libs/garcon/${VERSION%.*}/$TARBALL"
erjo@8014 12
pascal@15004 13 DEPENDS="libgio glib"
pascal@15004 14 BUILD_DEPENDS="intltool libgio libgio-dev glib-dev libxfce4util-dev"
pascal@15004 15
erjo@8014 16 # Rules to configure and make the package.
erjo@8014 17 compile_rules()
erjo@8014 18 {
erjo@8014 19 cd $src
erjo@8014 20 ./configure \
erjo@8014 21 --prefix=/usr \
erjo@8014 22 --infodir=/usr/share/info \
erjo@8014 23 --sysconfdir=/etc \
erjo@8014 24 --disable-login \
erjo@8014 25 --mandir=/usr/share/man \
erjo@8014 26 $CONFIGURE_ARGS &&
pascal@13762 27 make && make DESTDIR=$DESTDIR install
erjo@8014 28 }
erjo@8014 29
erjo@8014 30 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@8014 31 genpkg_rules()
erjo@8014 32 {
erjo@8014 33 mkdir -p $fs/usr \
erjo@8014 34 $fs/usr/share \
erjo@8014 35 $fs/usr/lib
erjo@8014 36
pascal@13762 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@13762 38 cp -a $install/etc $fs/
pascal@13762 39 cp -a $install/usr/share/desktop* $fs/usr/share
erjo@8014 40 }
erjo@8014 41