wok annotate gnome-menus/receipt @ rev 23515
busybox: musl & diet may fail (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 06 12:11:08 2020 +0200 (2020-04-06) |
parents | 16df76e1fc6a |
children | 6831608a1b2a |
rev | line source |
---|---|
pankso@139 | 1 # SliTaz package receipt. |
pankso@139 | 2 |
pankso@139 | 3 PACKAGE="gnome-menus" |
slaxemulator@6181 | 4 VERSION="2.30.2" |
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@15000 | 8 LICENSE="GPL2" |
pankso@139 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20421 | 10 WEB_SITE="https://www.gnome.org/" |
pascal@6594 | 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/desktop/${VERSION%.*}/$VERSION/sources/$TARBALL" |
pankso@195 | 12 |
psychomaniak@17159 | 13 DEPENDS="glib libgio" |
pascal@12590 | 14 BUILD_DEPENDS="intltool python-dev python glib-dev libgio-dev" |
psychomaniak@17159 | 15 SUGGESTED="python gamin" |
pascal@11882 | 16 |
pankso@139 | 17 # Rules to configure and make the package. |
pankso@139 | 18 compile_rules() |
pankso@139 | 19 { |
pankso@139 | 20 ./configure \ |
pankso@139 | 21 --prefix=/usr \ |
pankso@139 | 22 --sysconfdir=/etc \ |
pankso@139 | 23 --mandir=/usr/share/man \ |
pascal@1465 | 24 $CONFIGURE_ARGS && |
pascal@1465 | 25 make && |
pascal@15602 | 26 make DESTDIR=$DESTDIR install |
pankso@139 | 27 } |
pankso@139 | 28 |
pankso@139 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@139 | 30 genpkg_rules() |
pankso@139 | 31 { |
pascal@6594 | 32 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') |
pankso@195 | 33 mkdir -p $fs/usr/lib |
pascal@15603 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15603 | 35 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib |
pascal@6592 | 36 rm $fs/usr/lib/$PYTHON_LIB/site-packages/*.*a |
pankso@139 | 37 } |