wok-next view gnustep-base/receipt @ rev 20734

nut: update (b)deps
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 29 18:57:36 2018 +0300 (2018-05-29)
parents 0f7f6eab30fa
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gnustep-base"
4 VERSION="1.25.0"
5 CATEGORY="x-window"
6 SHORT_DESC="GNUstep base package."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
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="libffi libxslt gnutls libbfd libobjc openssl libtasn1 icu"
14 BUILD_DEPENDS="gnustep-make libffi-dev libxslt-dev gnutls-dev openssl-dev \
15 libtasn1-dev tar icu-dev"
16 SPLIT="gnustep-base-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 --with-ffi-library=/usr/lib \
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-base)
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-base-dev)
39 DEPENDS="gnustep-base"
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 }