wok-next view slang/receipt @ rev 21640
updated fbgrab (1.2 -> 1.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 15:42:40 2020 +0100 (2020-06-26) |
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 }