wok-current view nano/receipt @ rev 11142

wireless_tools-dev: Add wireless_tools to depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Oct 26 21:17:23 2011 +0000 (2011-10-26)
parents 172046663dc8
children 05a0ed0c2af0
line source
1 # SliTaz package receipt.
3 PACKAGE="nano"
4 VERSION="2.2.6"
5 CATEGORY="utilities"
6 SHORT_DESC="GNU Nano Text Editor."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.nano-editor.org/"
10 WGET_URL="$WEB_SITE/dist/v2.2/$TARBALL"
11 TAGS="text-editor"
13 DEPENDS="ncursesw"
14 BUILD_DEPENDS="ncursesw-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --enable-all \
22 --enable-extra \
23 --enable-utf8 \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share $fs/etc
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/nano $fs/usr/share
34 # Config file.
35 cp $stuff/nanorc $fs/etc
36 }