wok-next view slang/receipt @ rev 21078

Update png and Xorg in dependencies.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 22 04:52:35 2018 +0200 (2018-12-22)
parents d5aab818505e
children
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.jedsoft.org/slang/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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 libpng-dev zlib-dev readline-dev"
16 SPLIT="$PACKAGE-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 libpng oniguruma readline zlib"
38 CONFIG_FILES="/etc/slsh.rc"
39 ;;
40 *-dev) copy @dev;;
41 esac
42 }