wok-next view newt/receipt @ rev 20569

Fix libtool where applicable (a*-f* packages yet); combine collectd* receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 13 07:14:16 2018 +0300 (2018-04-13)
parents 9b83ae3e9ce7
children b1a1deb20f42
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 compile_rules() {
18 sed -e 's/^LIBNEWT =/#&/' \
19 -e '/install -m 644 $(LIBNEWT)/ s/^/#/' \
20 -e 's/$(LIBNEWT)/$(LIBNEWTSONAME)/g' \
21 -i Makefile.in &&
23 ./configure \
24 --with-gpm-support \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 newt)
32 copy @std *.mo
33 DEPENDS="popt python slang tcl gpm"
34 ;;
35 *-dev) copy @dev;;
36 esac
37 }