wok-next view gnustep-gui/receipt @ rev 20442

linux-dev: fix defconfig for 32bit; refuse linux-uml on 32bit too because of compiling errors
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 10:43:01 2018 +0200 (2018-02-24)
parents af8a8f177c6c
children dd145c435e4b
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gnustep-gui"
4 VERSION="0.25.1"
5 CATEGORY="x-window"
6 SHORT_DESC="GNUstep GUI class library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnustep.org/"
11 WGET_URL="ftp://ftp.gnustep.org/pub/gnustep/core/$TARBALL"
13 DEPENDS="gnustep-base audiofile aspell giflib portaudio cups libcomerr3 \
14 libtasn1 jpeg tiff libpng"
15 BUILD_DEPENDS="gnustep-make gnustep-base-dev audiofile-dev aspell-dev giflib-dev \
16 portaudio-dev cups-dev libtasn1-dev tar jpeg-dev tiff-dev libpng-dev"
17 SPLIT="gnustep-gui-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 gnustep-gui)
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/lib/GNUstep $fs/usr/lib
37 ;;
38 gnustep-gui-dev)
39 DEPENDS="gnustep-gui"
40 mkdir -p $fs/usr/share
41 cp -a $install/usr/include $fs/usr
42 cp -a $install/usr/share/GNUstep $fs/usr/share
43 ;;
44 esac
45 }