wok-next view newt/receipt @ rev 19715

Fix building: pciutils, pcmanfm-legacy, arj
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 13 17:25:31 2017 +0300 (2017-05-13)
parents 17bf4f330c44
children f463de72afe3
line source
1 # SliTaz package receipt.
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 DEPENDS="popt python slang tcl gpm"
15 BUILD_DEPENDS="slang-dev popt-dev python-dev tcl-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 cook_copy_folders bin
35 cook_copy_files *.so* *.py *.mo
36 }