wok-current annotate gnustep-gui/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 76ea5d09d6b9 |
children |
rev | line source |
---|---|
pankso@4053 | 1 # SliTaz package receipt. |
pankso@4053 | 2 |
pankso@4053 | 3 PACKAGE="gnustep-gui" |
Hans-G?nter@24457 | 4 VERSION="0.29.0" |
pankso@4053 | 5 CATEGORY="x-window" |
pankso@4053 | 6 SHORT_DESC="GNUstep GUI class library." |
pankso@4053 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
Hans-G?nter@22865 | 9 WEB_SITE="http://www.gnustep.org/" |
Hans-G?nter@22865 | 10 |
pankso@4053 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25472 | 12 WGET_URL="https://github.com/gnustep/libs-gui/releases/download/gui-${VERSION//./_}/$TARBALL" |
pankso@4053 | 13 |
Hans-G?nter@22865 | 14 DEPENDS="audiofile aspell cups giflib gnustep-base jpeg libcomerr3 |
Hans-G?nter@22865 | 15 libpng libtasn1 portaudio tiff" |
Hans-G?nter@24457 | 16 BUILD_DEPENDS="audiofile-dev aspell-dev cups-dev giflib-dev |
Hans-G?nter@24457 | 17 gnustep-base-dev gnustep-make jpeg-dev libpng-dev libtasn1-dev |
Hans-G?nter@24458 | 18 portaudio-dev tar tiff-dev" |
Hans-G?nter@24458 | 19 # busybox tar is insufficient |
pankso@10009 | 20 |
pascal@24425 | 21 # What is the latest version available today? |
pascal@24425 | 22 current_version() |
pascal@24425 | 23 { |
pascal@25472 | 24 wget -O - ${WGET_URL%/rel*}/releases 2>/dev/null | \ |
pascal@25472 | 25 sed '/tar.gz dist/!d;s|.tar.*||;s|.*gui-||;q' |
pascal@24425 | 26 } |
pascal@24425 | 27 |
pankso@4053 | 28 # Rules to configure and make the package. |
pankso@4053 | 29 compile_rules() |
pankso@4053 | 30 { |
Hans-G?nter@22865 | 31 ./configure \ |
Hans-G?nter@22865 | 32 --prefix=/usr \ |
pankso@4053 | 33 $CONFIGURE_ARGS && |
Hans-G?nter@22865 | 34 make && |
Hans-G?nter@24457 | 35 make install DESTDIR=$DESTDIR |
pankso@4053 | 36 } |
pankso@4053 | 37 |
pankso@4053 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4053 | 39 genpkg_rules() |
pankso@4053 | 40 { |
pankso@4053 | 41 mkdir -p $fs/usr/lib |
Hans-G?nter@22865 | 42 |
Hans-G?nter@22865 | 43 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22865 | 44 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22865 | 45 cp -a $install/usr/lib/GNUstep $fs/usr/lib |
Hans-G?nter@22865 | 46 } |