wok-current view slang/receipt @ rev 10042

bison: cross with CONFIGURE_ARGS
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 20 09:00:11 2011 +0200 (2011-05-20)
parents 619b5a7a7712
children 9f2655ff38ef
line source
1 # SliTaz package receipt.
3 PACKAGE="slang"
4 VERSION="2.2.3"
5 CATEGORY="development"
6 SHORT_DESC="S-Lang library"
7 MAINTAINER="erjo@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.s-lang.org/index.html"
10 WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.2/$TARBALL
11 ftp://space.mit.edu/pub/davis/slang/v2.2/$TARBALL"
13 DEPENDS="pcre libpng zlib"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr &&
20 make -j1 && \
21 make -j1 elf && \
22 make -j1 static &&
23 make -j1 DESTDIR=$DESTDIR install install-static
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/slang $fs/usr/lib
33 }