wok annotate gnustep-gui/receipt @ rev 25470
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 07 10:48:59 2022 +0000 (2022-10-07) |
parents | 77cf81161f50 |
children | 50e162af45ee |
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@24425 | 12 WGET_URL="http://ftp.gnustep.org/pub/gnustep/core/$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@24425 | 24 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 25 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed 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 } |