wok-next annotate newt/receipt @ rev 20659

Up libical (3.0.1), libidn2 (2.0.4), libunistring (0.9.8), logrotate (3.11.0), mc (4.8.20), mercurial (4.5), nasm (2.13.03), newt (0.52.20), node (9.5.0), opencv (3.4.1), slitaz-tools-boxes (1028), slitaz-tools (1028), spacefm (1.0.6), tiff (4.0.9); add npapi-sdk, obex-data-server.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed May 09 16:46:19 2018 +0300 (2018-05-09)
parents d43bf7aae921
children f48456621a9d
rev   line source
al@19796 1 # SliTaz package receipt v2.
erjo@511 2
erjo@511 3 PACKAGE="newt"
al@20659 4 VERSION="0.52.20"
al@19693 5 CATEGORY="libdevel"
al@19693 6 SHORT_DESC="Programming library for color text mode"
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15584 8 LICENSE="GPL2"
al@20659 9 WEB_SITE="https://pagure.io/newt"
al@20659 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/newt.html"
al@19693 11
erjo@511 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20659 13 WGET_URL="https://releases.pagure.org/newt/$TARBALL"
erjo@511 14
al@20659 15 BUILD_DEPENDS="slang-dev popt-dev python-dev tcl-dev gpm-dev"
al@19796 16 SPLIT="newt-dev"
pascal@15584 17
al@20513 18 compile_rules() {
al@19693 19 sed -e 's/^LIBNEWT =/#&/' \
al@19693 20 -e '/install -m 644 $(LIBNEWT)/ s/^/#/' \
al@19693 21 -e 's/$(LIBNEWT)/$(LIBNEWTSONAME)/g' \
al@19693 22 -i Makefile.in &&
erjo@511 23
al@19693 24 ./configure \
al@19693 25 --with-gpm-support \
al@19693 26 $CONFIGURE_ARGS &&
al@20659 27 make &&
al@20659 28 make install
erjo@511 29 }
erjo@511 30
al@20513 31 genpkg_rules() {
al@19796 32 case $PACKAGE in
al@20513 33 newt)
al@20513 34 copy @std *.mo
al@20659 35 DEPENDS="popt python slang tcl"
al@20659 36 SUGGESTED="gpm"
al@20513 37 ;;
al@19796 38 *-dev) copy @dev;;
al@19796 39 esac
erjo@511 40 }