wok-6.x view gnustep-gui/receipt @ rev 24425
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 11 17:50:36 2022 +0000 (2022-02-11) |
parents | 952323d1e45e |
children | 77cf81161f50 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnustep-gui"
4 VERSION="0.27.0"
5 CATEGORY="x-window"
6 SHORT_DESC="GNUstep GUI class library."
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"
14 DEPENDS="audiofile aspell cups giflib gnustep-base jpeg libcomerr3
15 libpng libtasn1 portaudio tiff"
16 BUILD_DEPENDS="audiofile-dev aspell-dev cups-dev giflib-dev gnustep-base-dev
17 gnustep-make jpeg-dev libpng-dev libtasn1-dev portaudio-dev tar tiff-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/GNUstep $fs/usr/lib
44 }