wok-6.x view gnustep-gui/receipt @ rev 24727

cookutils: add repo-cooking (used by tank)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 15 10:59:31 2022 +0000 (2022-03-15)
parents 77cf81161f50
children 50e162af45ee
line source
1 # SliTaz package receipt.
3 PACKAGE="gnustep-gui"
4 VERSION="0.29.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
17 gnustep-base-dev gnustep-make jpeg-dev libpng-dev libtasn1-dev
18 portaudio-dev tar tiff-dev"
19 # busybox tar is insufficient
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/*} 2>/dev/null | \
25 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --prefix=/usr \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/usr/lib/GNUstep $fs/usr/lib
46 }