wok annotate gnustep-make/receipt @ rev 25134
updated phpeasyvcs (1.0 -> 2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 10:51:43 2022 +0100 (2022-06-29) |
parents | 453c249b6219 |
children | 2155b2665e26 |
rev | line source |
---|---|
pankso@4053 | 1 # SliTaz package receipt. |
pankso@4053 | 2 |
pankso@4053 | 3 PACKAGE="gnustep-make" |
Hans-G?nter@24455 | 4 VERSION="2.9.0" |
pankso@4053 | 5 CATEGORY="development" |
pankso@4053 | 6 SHORT_DESC="GNUstep make package." |
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@24455 | 14 DEPENDS="" |
pascal@14999 | 15 |
pascal@24425 | 16 # What is the latest version available today? |
pascal@24425 | 17 current_version() |
pascal@24425 | 18 { |
pascal@24425 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 20 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24425 | 21 } |
pascal@24425 | 22 |
pankso@4053 | 23 # Rules to configure and make the package. |
pankso@4053 | 24 compile_rules() |
pankso@4053 | 25 { |
Hans-G?nter@22865 | 26 ./configure \ |
Hans-G?nter@22865 | 27 --prefix=/usr \ |
Hans-G?nter@22865 | 28 --with-layout=fhs \ |
pankso@4053 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@22865 | 30 make && |
Hans-G?nter@24455 | 31 make install DESTDIR=$DESTDIR |
pankso@4053 | 32 } |
pankso@4053 | 33 |
pankso@4053 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4053 | 35 genpkg_rules() |
pankso@4053 | 36 { |
pankso@4053 | 37 mkdir -p $fs/usr/share |
Hans-G?nter@22865 | 38 |
Hans-G?nter@22865 | 39 cp -a $install/etc $fs |
Hans-G?nter@22865 | 40 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22865 | 41 cp -a $install/usr/share/GNUstep $fs/usr/share |
pankso@4053 | 42 } |