wok annotate gnustep-make/receipt @ rev 25493

Add libgnt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 19 17:37:48 2022 +0000 (19 months ago)
parents b0a19fe55cb0
children
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@25485 12 #WGET_URL="http://ftp.gnustep.org/pub/gnustep/core/$TARBALL"
pascal@25485 13 WGET_URL="https://kacabenggala.uny.ac.id/gentoo/distfiles/40/$TARBALL"
pankso@4053 14
Hans-G?nter@24455 15 DEPENDS=""
pascal@14999 16
pascal@24425 17 # What is the latest version available today?
pascal@24425 18 current_version()
pascal@24425 19 {
pascal@24425 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24425 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24425 22 }
pascal@24425 23
pankso@4053 24 # Rules to configure and make the package.
pankso@4053 25 compile_rules()
pankso@4053 26 {
Hans-G?nter@22865 27 ./configure \
Hans-G?nter@22865 28 --prefix=/usr \
Hans-G?nter@22865 29 --with-layout=fhs \
pankso@4053 30 $CONFIGURE_ARGS &&
Hans-G?nter@22865 31 make &&
Hans-G?nter@24455 32 make install DESTDIR=$DESTDIR
pankso@4053 33 }
pankso@4053 34
pankso@4053 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4053 36 genpkg_rules()
pankso@4053 37 {
pankso@4053 38 mkdir -p $fs/usr/share
Hans-G?nter@22865 39
Hans-G?nter@22865 40 cp -a $install/etc $fs
Hans-G?nter@22865 41 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22865 42 cp -a $install/usr/share/GNUstep $fs/usr/share
pankso@4053 43 }