wok annotate garcon/receipt @ rev 18049

Up: tazpkg (804)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 15 04:39:10 2015 +0300 (2015-05-15)
parents a00bf44ed23d
children 9053833522ce
rev   line source
erjo@8014 1 # SliTaz package receipt.
erjo@8014 2
erjo@8014 3 PACKAGE="garcon"
devl547@16295 4 VERSION="0.3.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"
devl547@16295 11 WGET_URL="http://archive.xfce.org/src/xfce/garcon/${VERSION%.*}/$TARBALL"
erjo@8014 12
devl547@16295 13 DEPENDS="libgio glib gtk+ libxfce4ui libxfce4util util-linux-uuid startup-notification"
devl547@16295 14 BUILD_DEPENDS="intltool libgio libgio-dev glib-dev libxfce4ui-dev libxfce4util-dev \
devl547@16295 15 util-linux-uuid-dev gtk+-dev startup-notification-dev"
pascal@15004 16
erjo@8014 17 # Rules to configure and make the package.
erjo@8014 18 compile_rules()
erjo@8014 19 {
erjo@8014 20 cd $src
erjo@8014 21 ./configure \
erjo@8014 22 --prefix=/usr \
erjo@8014 23 --infodir=/usr/share/info \
erjo@8014 24 --sysconfdir=/etc \
erjo@8014 25 --disable-login \
erjo@8014 26 --mandir=/usr/share/man \
erjo@8014 27 $CONFIGURE_ARGS &&
pascal@13762 28 make && make DESTDIR=$DESTDIR install
erjo@8014 29 }
erjo@8014 30
erjo@8014 31 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@8014 32 genpkg_rules()
erjo@8014 33 {
erjo@8014 34 mkdir -p $fs/usr \
erjo@8014 35 $fs/usr/share \
erjo@8014 36 $fs/usr/lib
erjo@8014 37
pascal@13762 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@13762 39 cp -a $install/etc $fs/
pascal@13762 40 cp -a $install/usr/share/desktop* $fs/usr/share
erjo@8014 41 }
erjo@8014 42