wok-next view newt/receipt @ rev 20402
Up seed (3.8.1) use webkitgtk instead of libwebkit; add cogl for clutter; up clutter (1.26.2) using mesa17 instead of mesa; up gnome-games using mesa17 instead of mix 'mesa & mesa17'
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 05 17:49:11 2017 +0200 (2017-12-05) |
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 }