wok annotate menu-cache/receipt @ rev 12536
rage: need auto tools
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 26 02:16:57 2012 +0200 (2012-04-26) |
parents | 50f89a1e4792 |
children | 380ffe05937a |
rev | line source |
---|---|
pankso@2214 | 1 # SliTaz package receipt. |
pankso@2214 | 2 |
pankso@2214 | 3 PACKAGE="menu-cache" |
pankso@5400 | 4 VERSION="0.3.2" |
pankso@2214 | 5 CATEGORY="x-window" |
pankso@2214 | 6 SHORT_DESC="Standard compliant menu library used by LXDE." |
pankso@2214 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2214 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@2214 | 9 WEB_SITE="http://lxde.sourceforge.net/" |
pankso@2214 | 10 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
pankso@2214 | 11 |
pankso@12161 | 12 DEPENDS="glibc-base glib libgio slitaz-menus" |
pankso@12161 | 13 BUILD_DEPENDS="glib-dev libgio-dev" |
pankso@12161 | 14 |
pankso@2214 | 15 # Rules to configure and make the package. |
pankso@2214 | 16 compile_rules() |
pankso@2214 | 17 { |
pankso@2214 | 18 cd $src |
pankso@2214 | 19 ./configure \ |
pankso@2214 | 20 --prefix=/usr \ |
pankso@3825 | 21 --libexecdir=/usr/lib/menu-cache \ |
rcx@3624 | 22 --sysconfdir=/etc \ |
pankso@2214 | 23 $CONFIGURE_ARGS && |
pankso@2214 | 24 make && |
pankso@2214 | 25 make DESTDIR=$PWD/_pkg install |
pankso@2214 | 26 } |
pankso@2214 | 27 |
pankso@2214 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2214 | 29 genpkg_rules() |
pankso@2214 | 30 { |
pankso@2214 | 31 mkdir -p $fs/usr/lib |
pankso@2214 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@3825 | 33 cp -a $_pkg/usr/lib/menu-cache $fs/usr/lib |
pankso@3825 | 34 strip -s $fs/usr/lib/menu-cache/* |
pankso@2214 | 35 } |