wok-next view slang/receipt @ rev 19725
Up lives (2.8.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 25 11:14:35 2017 +0200 (2017-05-25) |
parents | 4048d48a47c1 |
children | 9278a60d6895 |
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 WEB_SITE="http://www.jedsoft.org/slang/"
10 CONFIG_FILES="/etc/slsh.rc"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="ftp://space.mit.edu/pub/davis/slang/v${VERSION%.*}/$TARBALL"
15 DEPENDS="libpng ncurses oniguruma pcre readline zlib"
16 BUILD_DEPENDS="pcre-dev oniguruma-dev libpng-dev zlib-dev readline-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --sysconfdir=/etc \
23 --with-readline=gnu \
24 $CONFIGURE_ARGS &&
25 make -j1 &&
26 make -j1 install_doc_dir=/usr/share/doc/slang-$VERSION \
27 SLSH_DOC_DIR=/usr/share/doc/slang-$VERSION/slsh \
28 install-all &&
30 chmod -v 755 \
31 $install/usr/lib/libslang.so.$VERSION \
32 $install/usr/lib/slang/v2/modules/*.so
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders bin
39 cook_copy_files *.so*
40 }