wok-6.x annotate gnome-menus/receipt @ rev 25565

Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author Stanislas Leduc <shann@slitaz.org>
date Tue May 09 17:24:00 2023 +0000 (18 months ago)
parents 86790a278e70
children
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
pascal@24111 17 current_version()
pascal@24111 18 {
pascal@24111 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 21 }
pascal@24111 22
pankso@139 23 # Rules to configure and make the package.
pankso@139 24 compile_rules()
pankso@139 25 {
pankso@139 26 ./configure \
pankso@139 27 --prefix=/usr \
pankso@139 28 --sysconfdir=/etc \
pankso@139 29 --mandir=/usr/share/man \
pascal@1465 30 $CONFIGURE_ARGS &&
pascal@1465 31 make &&
pascal@15602 32 make DESTDIR=$DESTDIR install
pankso@139 33 }
pankso@139 34
pankso@139 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@139 36 genpkg_rules()
pankso@139 37 {
pascal@6594 38 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
pankso@195 39 mkdir -p $fs/usr/lib
pascal@15603 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15603 41 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
pascal@6592 42 rm $fs/usr/lib/$PYTHON_LIB/site-packages/*.*a
pankso@139 43 }