wok-current view gnustep-gui/receipt @ rev 25474
openjdk-6-src: use find from findutils in place of busybox find
author | Hans-G?nter Theisgen |
---|---|
date | Thu Oct 13 16:42:57 2022 +0100 (2022-10-13) |
parents | 76ea5d09d6b9 |
children |
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="https://github.com/gnustep/libs-gui/releases/download/gui-${VERSION//./_}/$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%/rel*}/releases 2>/dev/null | \
25 sed '/tar.gz dist/!d;s|.tar.*||;s|.*gui-||;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 }