wok-next view slang/receipt @ rev 20780

GnuPG update: 2.1.21 (2017 May) -> 2.2.8 (CVE-2018-12020) -> GnuPG 2.2.x is the current stable branch of GnuPG
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 05:44:49 2018 +0000 (2018-06-09)
parents 1ff723a6455b
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="slang"
4 VERSION="2.3.1"
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 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/slang.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://www.jedsoft.org/releases/slang/$TARBALL"
15 BUILD_DEPENDS="pcre-dev oniguruma-dev libpng16-dev zlib-dev readline-dev"
16 SPLIT="slang-dev"
18 compile_rules() {
19 ./configure \
20 --with-readline=gnu \
21 $CONFIGURE_ARGS &&
22 make -j1 &&
23 make -j1 \
24 install_doc_dir=/usr/share/doc/slang-$VERSION \
25 SLSH_DOC_DIR=/usr/share/doc/slang-$VERSION/slsh \
26 install-all &&
28 chmod -v 755 \
29 $install/usr/lib/libslang.so.$VERSION \
30 $install/usr/lib/slang/v2/modules/*.so
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 slang)
36 copy @std
37 DEPENDS="libpcre libpng16 oniguruma readline zlib"
38 CONFIG_FILES="/etc/slsh.rc"
39 ;;
40 *-dev) copy @dev;;
41 esac
42 }