wok-next annotate netrik/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | d43bf7aae921 |
children |
rev | line source |
---|---|
al@20513 | 1 # SliTaz package receipt v2. |
al@13649 | 2 |
al@13649 | 3 PACKAGE="netrik" |
al@13649 | 4 VERSION="1.16.1" |
al@13649 | 5 CATEGORY="utilities" |
al@20513 | 6 SHORT_DESC="Advanced text-mode WWW browser, focusing on a convenient user \ |
al@20513 | 7 interface" |
al@13649 | 8 MAINTAINER="al.bobylev@gmail.com" |
pascal@15000 | 9 LICENSE="GPL2" |
al@13649 | 10 WEB_SITE="http://netrik.sourceforge.net/" |
al@20513 | 11 |
al@13649 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@13649 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@13649 | 14 |
pascal@19952 | 15 BUILD_DEPENDS="readline-dev ncurses-dev" |
al@13649 | 16 |
al@20513 | 17 compile_rules() { |
al@13649 | 18 # fix headers |
al@13649 | 19 for src in colors-bright colors-dark links main pager parse-syntax render screen; do |
al@21020 | 20 sed -i '/#include <ncursesw/ s|ncursesw/||g' $src.c |
al@13649 | 21 done |
al@13649 | 22 |
al@21020 | 23 ./configure $CONFIGURE_ARGS && |
al@21020 | 24 make && |
al@21020 | 25 make install |
al@13649 | 26 } |
al@13649 | 27 |
al@20513 | 28 genpkg_rules() { |
al@20513 | 29 copy @std |
al@20513 | 30 DEPENDS="glibc-base ncurses readline" |
al@13649 | 31 } |