wok-next diff 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 |
line diff
1.1 --- a/newt/receipt Sat Nov 30 18:50:23 2013 +0000 1.2 +++ b/newt/receipt Tue Jun 13 02:43:30 2017 +0300 1.3 @@ -1,42 +1,36 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="newt" 1.7 -VERSION="0.52.12" 1.8 -CATEGORY="development" 1.9 -SHORT_DESC="Not Erik's Windowing Toolkit" 1.10 +VERSION="0.52.19" 1.11 +CATEGORY="libdevel" 1.12 +SHORT_DESC="Programming library for color text mode" 1.13 MAINTAINER="erjo@slitaz.org" 1.14 LICENSE="GPL2" 1.15 +WEB_SITE="https://fedorahosted.org/newt/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="https://fedorahosted.org/newt/" 1.19 WGET_URL="https://fedorahosted.org/releases/n/e/$PACKAGE/$TARBALL" 1.20 1.21 -DEPENDS="slang popt tcl" 1.22 -BUILD_DEPENDS="slang-dev tcl popt-dev python-dev wget" 1.23 +DEPENDS="popt python slang tcl gpm" 1.24 +BUILD_DEPENDS="slang-dev popt-dev python-dev tcl-dev" 1.25 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 { 1.29 - cd $src 1.30 + sed -e 's/^LIBNEWT =/#&/' \ 1.31 + -e '/install -m 644 $(LIBNEWT)/ s/^/#/' \ 1.32 + -e 's/$(LIBNEWT)/$(LIBNEWTSONAME)/g' \ 1.33 + -i Makefile.in && 1.34 1.35 - python=$(ls -d /usr/lib/python*/ | sed 's|/usr/lib/\(.*\)/|\1|' | head -1) 1.36 - tcl=$(ls /usr/lib/libtcl*.so | sed 's|/usr/lib/lib\(.*\).so|\1|') 1.37 - 1.38 - echo "Patching for $python and $tcl..." 1.39 - sed -i -e "s/python2.4/$python/" \ 1.40 - -e "s/tcl8.4/$tcl/" \ 1.41 - Makefile.in 1.42 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.43 - --mandir=/usr/share/man $CONFIGURE_ARGS && 1.44 - make && 1.45 - make instroot=$DESTDIR install 1.46 + ./configure \ 1.47 + --with-gpm-support \ 1.48 + $CONFIGURE_ARGS && 1.49 + make && make install 1.50 } 1.51 1.52 # Rules to gen a SliTaz package suitable for Tazpkg. 1.53 genpkg_rules() 1.54 { 1.55 - mkdir -p $fs/usr/lib 1.56 - cp -a $install/usr/bin $fs/usr 1.57 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.58 - cp -a $install/usr/lib/python* $fs/usr/lib 1.59 + cook_copy_folders bin 1.60 + cook_copy_files *.so* *.py *.mo 1.61 } 1.62 -