wok-next view netrik/receipt @ rev 15679

lxc: add depend for linux-lxc
Add linux-lxc
author Stanislas Leduc <shann@slitaz.org>
date Fri Dec 20 20:12:42 2013 +0100 (2013-12-20)
parents 4af76cfb62c4
children 6c12ac1293fc
line source
1 # SliTaz package receipt.
3 PACKAGE="netrik"
4 VERSION="1.16.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Advanced text-mode WWW browser, focusing on a convenient user interface"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://netrik.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="glibc-base ncursesw readline"
14 BUILD_DEPENDS="readline-dev ncursesw-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 # fix headers
22 for src in colors-bright colors-dark links main pager parse-syntax render screen; do
23 sed -i '/#include <ncursesw/ s|ncursesw/||g' ${src}.c
24 done
26 ./configure $CONFIGURE_ARGS && make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $install/usr/bin $fs/usr
34 }