wok-next view newt/receipt @ rev 21071
Update atkmm, cairo, cmake, db, elfutils, emacs, glib, glib-networking, glibmm, gobject-introspection, libsigc++, meson, openssl, zstd
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 13 00:46:54 2018 +0200 (2018-12-13) |
parents | f48456621a9d |
children |
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://pagure.io/newt"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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="$PACKAGE-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)
39 copy @dev
40 ;;
41 esac
42 }