wok-next annotate slang/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 5669e8b3be70 |
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" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
al@19693 | 9 WEB_SITE="http://www.jedsoft.org/slang/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@21020 | 16 SPLIT="$PACKAGE-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@20749 | 37 DEPENDS="libpcre libpng16 oniguruma 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 } |