wok-4.x view nano/receipt @ rev 12342

alsaplayer: enable flac
author Richard Dunbar <mojo@slitaz.org>
date Wed Oct 17 17:03:00 2012 +0000 (2012-10-17)
parents 172046663dc8
children
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 }