wok annotate netrik/receipt @ rev 21961
updated squirrelmail-autocomplete (2.0-1.0.0 -> 3.0-1.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Oct 10 16:00:22 2019 +0100 (2019-10-10) |
parents | 4af76cfb62c4 |
children | afae00265386 |
rev | line source |
---|---|
al@13649 | 1 # SliTaz package receipt. |
al@13649 | 2 |
al@13649 | 3 PACKAGE="netrik" |
al@13649 | 4 VERSION="1.16.1" |
al@13649 | 5 CATEGORY="utilities" |
al@13649 | 6 SHORT_DESC="Advanced text-mode WWW browser, focusing on a convenient user interface" |
al@13649 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15000 | 8 LICENSE="GPL2" |
al@13649 | 9 WEB_SITE="http://netrik.sourceforge.net/" |
al@13649 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@13649 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@13649 | 12 |
al@13649 | 13 DEPENDS="glibc-base ncursesw readline" |
al@13649 | 14 BUILD_DEPENDS="readline-dev ncursesw-dev" |
al@13649 | 15 |
al@13649 | 16 # Rules to configure and make the package. |
al@13649 | 17 compile_rules() |
al@13649 | 18 { |
al@13649 | 19 cd $src |
al@13649 | 20 |
al@13649 | 21 # fix headers |
al@13649 | 22 for src in colors-bright colors-dark links main pager parse-syntax render screen; do |
al@13649 | 23 sed -i '/#include <ncursesw/ s|ncursesw/||g' ${src}.c |
al@13649 | 24 done |
al@13649 | 25 |
al@13649 | 26 ./configure $CONFIGURE_ARGS && make && make install |
al@13649 | 27 } |
al@13649 | 28 |
al@13649 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13649 | 30 genpkg_rules() |
al@13649 | 31 { |
al@13649 | 32 mkdir -p $fs/usr/bin |
al@13649 | 33 cp -a $install/usr/bin $fs/usr |
al@13649 | 34 } |