wok-next view newt/receipt @ rev 20280

remove cyrus-sasl-pam, libsasl-without-ldap, enlightenment-pam, enlightenment-backgrounds, libcap-pam
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 14:41:47 2017 +0100 (2017-11-08)
parents f463de72afe3
children d43bf7aae921
line source
1 # SliTaz package receipt v2.
3 PACKAGE="newt"
4 VERSION="0.52.19"
5 CATEGORY="libdevel"
6 SHORT_DESC="Programming library for color text mode"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://fedorahosted.org/newt/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://fedorahosted.org/releases/n/e/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="slang-dev popt-dev python-dev tcl-dev"
15 SPLIT="newt-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -e 's/^LIBNEWT =/#&/' \
21 -e '/install -m 644 $(LIBNEWT)/ s/^/#/' \
22 -e 's/$(LIBNEWT)/$(LIBNEWTSONAME)/g' \
23 -i Makefile.in &&
25 ./configure \
26 --with-gpm-support \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 case $PACKAGE in
35 newt) copy @std *.mo; DEPENDS="popt python slang tcl gpm";;
36 *-dev) copy @dev;;
37 esac
38 }