wok-6.x view gnustep-back/receipt @ rev 24569
sokojs: add shrink.sh (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 26 18:46:53 2022 +0000 (2022-02-26) |
parents | 241fb98cab1c |
children | fdf4e6f54d4f |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnustep-back"
4 VERSION="0.27.0"
5 CATEGORY="x-window"
6 SHORT_DESC="GNUstep Generic back-end."
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 cairo freetype giflib gnustep-base gnustep-gui
15 gnutls icu libart_lgpl libbfd libtasn1 util-linux-uuid xorg-libXmu"
16 BUILD_DEPENDS="audiofile-dev aspell-dev cairo-dev freetype-dev giflib-dev
17 gnustep-base-dev gnustep-gui-dev gnustep-make gnutls-dev
18 icu-dev libart_lgpl-dev libtasn1-dev util-linux-uuid-dev
19 xorg-libXmu-dev xorg-libXt-dev tar libbfd"
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/GNUstep $fs/usr/lib
45 }