wok-6.x view slang/receipt @ rev 19617

Up SliTaz projects: cookutils(863), slitaz-base-files(319), slitaz-boot-scripts(436), slitaz-configs(299), slitaz-tools(1008), ssfs(108), tazbug(94), tazinst(86), tazirc(18), tazlito(445), tazpanel(610), tazpkg(932), tazusb(194), tazweb(174).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jan 10 14:28:40 2017 +0200 (2017-01-10)
parents 7896f0694ef6
children 5c74e7d74dfc
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.s-lang.org/index.html"
11 WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v${VERSION%.*}/$TARBALL
12 ftp://space.mit.edu/pub/davis/slang/v${VERSION%.*}/$TARBALL"
14 DEPENDS="pcre libpng zlib"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr $CONFIGURE_ARGS &&
21 make -j1 && \
22 make -j1 elf && \
23 make -j1 static &&
24 make -j1 DESTDIR=$DESTDIR install install-static
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 cp -a $install/usr/lib/slang $fs/usr/lib
34 }