wok-next annotate slang/receipt @ rev 19693
Add: gcr, oniguruma; remove: nano-doc; up: apr, fribidi, jasper, libgphoto2, libmtp, libunique, libwebp, nano, pcre, apr, apr-util, aspell*, glib-networking, gnutls, gsettings-desktop-schemas, gtk+, gtk+3, gvfs*, libexif, libfm, libgnutls, libmng, libraw, libsoup, libtasn1, libusb, libwebp, lxmenu-data, menu-cache, mysql, newt, p11-kit, pcre, popt, postgresql, slang, which
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 21 14:48:05 2017 +0300 (2017-04-21) |
parents | d3eb5f4b53ea |
children | 1942c736a210 |
rev | line source |
---|---|
erjo@506 | 1 # SliTaz package receipt. |
erjo@506 | 2 |
erjo@506 | 3 PACKAGE="slang" |
slaxemulator@10198 | 4 VERSION="2.2.4" |
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@19693 | 10 CONFIG_FILES="/etc/slsh.rc" |
erjo@506 | 11 |
al@19693 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19693 | 13 WGET_URL="ftp://space.mit.edu/pub/davis/slang/v${VERSION%.*}/$TARBALL" |
al@19693 | 14 |
al@19693 | 15 DEPENDS="libpng ncurses oniguruma pcre readline zlib" |
al@19693 | 16 BUILD_DEPENDS="pcre-dev oniguruma-dev libpng-dev zlib-dev readline-dev" |
erjo@9950 | 17 |
erjo@506 | 18 # Rules to configure and make the package. |
erjo@506 | 19 compile_rules() |
erjo@506 | 20 { |
al@19693 | 21 ./configure \ |
al@19693 | 22 --sysconfdir=/etc \ |
al@19693 | 23 --with-readline=gnu \ |
al@19693 | 24 $CONFIGURE_ARGS && |
al@19693 | 25 make -j1 && |
al@19693 | 26 make install_doc_dir=/usr/share/doc/slang-$VERSION \ |
al@19693 | 27 SLSH_DOC_DIR=/usr/share/doc/slang-$VERSION/slsh \ |
al@19693 | 28 install-all && |
al@19693 | 29 |
al@19693 | 30 chmod -v 755 \ |
al@19693 | 31 $install/usr/lib/libslang.so.$VERSION \ |
al@19693 | 32 $install/usr/lib/slang/v2/modules/*.so |
erjo@506 | 33 } |
erjo@506 | 34 |
erjo@506 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@506 | 36 genpkg_rules() |
erjo@506 | 37 { |
al@19693 | 38 cook_copy_folders bin |
al@19693 | 39 cook_copy_files *.so* |
erjo@506 | 40 } |