wok view gnustep-make/receipt @ rev 25775

luajit, wayland, weston: fix current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 15 16:55:07 2024 +0000 (4 months ago)
parents 274c0ec61c53
children
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="https://www.gnustep.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/gnustep/tools-make/archive/make-${VERSION//./_}.tar.gz"
14 DEPENDS=""
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/gnustep/tools-make/releases 2>/dev/null | \
20 sed '/make-/!d;s|.*make-||;s|".*||;s|_|.|g;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --with-layout=fhs \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
39 cp -a $install/etc $fs
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/GNUstep $fs/usr/share
42 }