wok view gnustep-make/receipt @ rev 25563
Up openssh (9.3p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 06 08:42:03 2023 +0000 (16 months ago) |
parents | b0a19fe55cb0 |
children | 274c0ec61c53 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnustep-make"
4 VERSION="2.9.0"
5 CATEGORY="development"
6 SHORT_DESC="GNUstep make package."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.gnustep.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 #WGET_URL="http://ftp.gnustep.org/pub/gnustep/core/$TARBALL"
13 WGET_URL="https://kacabenggala.uny.ac.id/gentoo/distfiles/40/$TARBALL"
15 DEPENDS=""
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --with-layout=fhs \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
40 cp -a $install/etc $fs
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/share/GNUstep $fs/usr/share
43 }