wok-next view slang/receipt @ rev 20647

Up raptor (2.0.15), ruby (2.5.0), scons(3.0.0), screen (4.6.2), sharutils (4.15.2), slang (2.3.1), swig (3.0.12), sysstat (11.6.2), talloc (2.1.11), tcl (8.6.8), tidy-html5 (5.4.0), tk (8.6.8), udisks (1.0.5), unixODBC (2.3.5), unrar (5.5.8), upower (0.99.7), usbids (20180414), usbutils (009), vala (0.38.8), valgrind (3.13.0), wayland-protocols (1.13), yajl (2.1.0); add librep, rasqal, redland, rep-gtk.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 03 16:25:23 2018 +0300 (2018-05-03)
parents 757d032c55c7
children 342b30daff76
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="libpng16 oniguruma pcre readline zlib"
38 CONFIG_FILES="/etc/slsh.rc"
39 ;;
40 *-dev) copy @dev;;
41 esac
42 }