wok-next annotate 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 |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
erjo@506 | 2 |
erjo@506 | 3 PACKAGE="slang" |
al@20647 | 4 VERSION="2.3.1" |
erjo@506 | 5 CATEGORY="development" |
erjo@506 | 6 SHORT_DESC="S-Lang library" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@19693 | 9 WEB_SITE="http://www.jedsoft.org/slang/" |
al@20647 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/slang.html" |
erjo@506 | 11 |
al@19693 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@20647 | 13 WGET_URL="http://www.jedsoft.org/releases/slang/$TARBALL" |
al@19693 | 14 |
al@20454 | 15 BUILD_DEPENDS="pcre-dev oniguruma-dev libpng16-dev zlib-dev readline-dev" |
al@19741 | 16 SPLIT="slang-dev" |
erjo@9950 | 17 |
al@20534 | 18 compile_rules() { |
al@19693 | 19 ./configure \ |
al@19693 | 20 --with-readline=gnu \ |
al@19693 | 21 $CONFIGURE_ARGS && |
al@19693 | 22 make -j1 && |
al@20647 | 23 make -j1 \ |
al@20647 | 24 install_doc_dir=/usr/share/doc/slang-$VERSION \ |
al@19693 | 25 SLSH_DOC_DIR=/usr/share/doc/slang-$VERSION/slsh \ |
al@19693 | 26 install-all && |
al@19693 | 27 |
al@19693 | 28 chmod -v 755 \ |
al@19693 | 29 $install/usr/lib/libslang.so.$VERSION \ |
al@19693 | 30 $install/usr/lib/slang/v2/modules/*.so |
erjo@506 | 31 } |
erjo@506 | 32 |
al@20534 | 33 genpkg_rules() { |
al@19741 | 34 case $PACKAGE in |
al@19741 | 35 slang) |
al@19741 | 36 copy @std |
al@20647 | 37 DEPENDS="libpng16 oniguruma pcre readline zlib" |
al@19741 | 38 CONFIG_FILES="/etc/slsh.rc" |
al@19741 | 39 ;; |
al@19741 | 40 *-dev) copy @dev;; |
al@19741 | 41 esac |
erjo@506 | 42 } |