wok-next annotate newt/receipt @ rev 19767
Up e2fsprogs, jfsutils, krb5, cyrus-sasl.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 13 02:43:30 2017 +0300 (2017-06-13) |
parents | 17bf4f330c44 |
children | f463de72afe3 |
rev | line source |
---|---|
erjo@511 | 1 # SliTaz package receipt. |
erjo@511 | 2 |
erjo@511 | 3 PACKAGE="newt" |
al@19693 | 4 VERSION="0.52.19" |
al@19693 | 5 CATEGORY="libdevel" |
al@19693 | 6 SHORT_DESC="Programming library for color text mode" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15584 | 8 LICENSE="GPL2" |
al@19693 | 9 WEB_SITE="https://fedorahosted.org/newt/" |
al@19693 | 10 |
erjo@511 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@8642 | 12 WGET_URL="https://fedorahosted.org/releases/n/e/$PACKAGE/$TARBALL" |
erjo@511 | 13 |
al@19693 | 14 DEPENDS="popt python slang tcl gpm" |
al@19693 | 15 BUILD_DEPENDS="slang-dev popt-dev python-dev tcl-dev" |
pascal@15584 | 16 |
erjo@511 | 17 # Rules to configure and make the package. |
erjo@511 | 18 compile_rules() |
erjo@511 | 19 { |
al@19693 | 20 sed -e 's/^LIBNEWT =/#&/' \ |
al@19693 | 21 -e '/install -m 644 $(LIBNEWT)/ s/^/#/' \ |
al@19693 | 22 -e 's/$(LIBNEWT)/$(LIBNEWTSONAME)/g' \ |
al@19693 | 23 -i Makefile.in && |
erjo@511 | 24 |
al@19693 | 25 ./configure \ |
al@19693 | 26 --with-gpm-support \ |
al@19693 | 27 $CONFIGURE_ARGS && |
al@19693 | 28 make && make install |
erjo@511 | 29 } |
erjo@511 | 30 |
erjo@511 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@511 | 32 genpkg_rules() |
erjo@511 | 33 { |
al@19693 | 34 cook_copy_folders bin |
al@19693 | 35 cook_copy_files *.so* *.py *.mo |
erjo@511 | 36 } |