wok-next view slang/receipt @ rev 11035
slang: Compile with $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 16 07:23:25 2011 +0000 (2011-10-16) |
parents | 9f2655ff38ef |
children | 7896f0694ef6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slang"
4 VERSION="2.2.4"
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 $CONFIGURE_ARGS &&
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 }