wok-next view newt/receipt @ rev 20869
mono: fix build on 32-bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 10:15:48 2018 +0300 (2018-07-02) |
parents | d43bf7aae921 |
children | f48456621a9d |
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="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://pagure.io/newt"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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="newt-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) copy @dev;;
39 esac
40 }