wok-4.x annotate gnome-menus/receipt @ rev 5674
Add gammu (control cell phone lib)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 30 19:13:51 2010 +0200 (2010-05-30) |
parents | 52dc4b48ed81 |
children | b0bece4caf7e |
rev | line source |
---|---|
pankso@139 | 1 # SliTaz package receipt. |
pankso@139 | 2 |
pankso@139 | 3 PACKAGE="gnome-menus" |
pankso@139 | 4 VERSION="2.18.3" |
pankso@195 | 5 CATEGORY="x-window" |
pankso@195 | 6 SHORT_DESC="GNOME menu libs and tools (without desktop files)." |
pankso@139 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2484 | 8 DEPENDS="python gamin glib" |
pascal@1514 | 9 BUILD_DEPENDS="perl perl-xml-parser python glib glib-dev" |
pankso@139 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@139 | 11 WEB_SITE="http://www.gnome.org/" |
pankso@139 | 12 WGET_URL="http://ftp.gnome.org/pub/GNOME/desktop/2.18/$VERSION/sources/$TARBALL" |
pankso@195 | 13 |
pankso@139 | 14 # Rules to configure and make the package. |
pankso@139 | 15 compile_rules() |
pankso@139 | 16 { |
pankso@139 | 17 cd $src |
pankso@139 | 18 ./configure \ |
pankso@139 | 19 --prefix=/usr \ |
pankso@139 | 20 --sysconfdir=/etc \ |
pankso@139 | 21 --mandir=/usr/share/man \ |
pascal@1465 | 22 $CONFIGURE_ARGS && |
pascal@1465 | 23 make && |
pankso@139 | 24 make DESTDIR=$PWD/_pkg install |
pankso@139 | 25 } |
pankso@139 | 26 |
pankso@139 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@139 | 28 genpkg_rules() |
pankso@139 | 29 { |
pankso@195 | 30 mkdir -p $fs/usr/lib |
pankso@139 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@139 | 32 cp -a $_pkg/usr/lib/python2.5 $fs/usr/lib |
pankso@139 | 33 rm $fs/usr/lib/python2.5/site-packages/*.*a |
pankso@139 | 34 } |
pankso@139 | 35 |