wok view slang/receipt @ rev 19899

linld: fix seekset link error
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 08 12:48:12 2017 +0200 (2017-04-08)
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 }