wok-next annotate newt/receipt @ rev 20078
Add qtstyleplugins
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 11:19:15 2017 +0200 (2017-10-25) |
parents | f463de72afe3 |
children | d43bf7aae921 |
rev | line source |
---|---|
al@19796 | 1 # SliTaz package receipt v2. |
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 BUILD_DEPENDS="slang-dev popt-dev python-dev tcl-dev" |
al@19796 | 15 SPLIT="newt-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@19796 | 34 case $PACKAGE in |
al@19796 | 35 newt) copy @std *.mo; DEPENDS="popt python slang tcl gpm";; |
al@19796 | 36 *-dev) copy @dev;; |
al@19796 | 37 esac |
erjo@511 | 38 } |