wok-next annotate newt/receipt @ rev 21498

updated aspell-dicts (0.60.6.1 -> 0.60.8)
author Hans-G?nter Theisgen
date Thu Jun 18 21:48:58 2020 +0100 (2020-06-18)
parents f48456621a9d
children
rev   line source
al@19796 1 # SliTaz package receipt v2.
erjo@511 2
erjo@511 3 PACKAGE="newt"
al@20659 4 VERSION="0.52.20"
al@19693 5 CATEGORY="libdevel"
al@19693 6 SHORT_DESC="Programming library for color text mode"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15584 8 LICENSE="GPL2"
al@20659 9 WEB_SITE="https://pagure.io/newt"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/newt.html"
al@19693 11
erjo@511 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20659 13 WGET_URL="https://releases.pagure.org/newt/$TARBALL"
erjo@511 14
al@20659 15 BUILD_DEPENDS="slang-dev popt-dev python-dev tcl-dev gpm-dev"
al@21020 16 SPLIT="$PACKAGE-dev"
pascal@15584 17
al@20513 18 compile_rules() {
al@19693 19 sed -e 's/^LIBNEWT =/#&/' \
al@19693 20 -e '/install -m 644 $(LIBNEWT)/ s/^/#/' \
al@19693 21 -e 's/$(LIBNEWT)/$(LIBNEWTSONAME)/g' \
al@19693 22 -i Makefile.in &&
erjo@511 23
al@19693 24 ./configure \
al@19693 25 --with-gpm-support \
al@19693 26 $CONFIGURE_ARGS &&
al@20659 27 make &&
al@20659 28 make install
erjo@511 29 }
erjo@511 30
al@20513 31 genpkg_rules() {
al@19796 32 case $PACKAGE in
al@20513 33 newt)
al@20513 34 copy @std *.mo
al@20659 35 DEPENDS="popt python slang tcl"
al@20659 36 SUGGESTED="gpm"
al@20513 37 ;;
al@21020 38 *-dev)
al@21020 39 copy @dev
al@21020 40 ;;
al@19796 41 esac
erjo@511 42 }