wok-next view 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
line source
1 # SliTaz package receipt v2.
3 PACKAGE="newt"
4 VERSION="0.52.20"
5 CATEGORY="libdevel"
6 SHORT_DESC="Programming library for color text mode"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://pagure.io/newt"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/newt.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://releases.pagure.org/newt/$TARBALL"
15 BUILD_DEPENDS="slang-dev popt-dev python-dev tcl-dev gpm-dev"
16 SPLIT="newt-dev"
18 compile_rules() {
19 sed -e 's/^LIBNEWT =/#&/' \
20 -e '/install -m 644 $(LIBNEWT)/ s/^/#/' \
21 -e 's/$(LIBNEWT)/$(LIBNEWTSONAME)/g' \
22 -i Makefile.in &&
24 ./configure \
25 --with-gpm-support \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 newt)
34 copy @std *.mo
35 DEPENDS="popt python slang tcl"
36 SUGGESTED="gpm"
37 ;;
38 *-dev) copy @dev;;
39 esac
40 }