wok-next view slang/receipt @ rev 10391

apr: can't cross (use native)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 18:50:47 2011 +0200 (2011-05-23)
parents 2fe48fe24032
children 89114f946725
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 &&
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 }