wok-next view slang/receipt @ rev 19879
qemacs: does not need gcc3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 04 18:36:44 2017 +0200 (2017-10-04) |
parents | 1942c736a210 |
children | dd145c435e4b |
line source
1 # SliTaz package receipt v2.
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="ftp://space.mit.edu/pub/davis/slang/v${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="pcre-dev oniguruma-dev libpng-dev zlib-dev readline-dev"
15 SPLIT="slang-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --sysconfdir=/etc \
22 --with-readline=gnu \
23 $CONFIGURE_ARGS &&
24 make -j1 &&
25 make -j1 install_doc_dir=/usr/share/doc/slang-$VERSION \
26 SLSH_DOC_DIR=/usr/share/doc/slang-$VERSION/slsh \
27 install-all &&
29 chmod -v 755 \
30 $install/usr/lib/libslang.so.$VERSION \
31 $install/usr/lib/slang/v2/modules/*.so
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 case $PACKAGE in
38 slang)
39 copy @std
40 DEPENDS="libpng ncurses oniguruma pcre readline zlib"
41 CONFIG_FILES="/etc/slsh.rc"
42 ;;
43 *-dev) copy @dev;;
44 esac
45 }