wok-6.x view nano/receipt @ rev 11494

Up: poppler 0.18.2; poppler-data 0.4.5 (fix build of epdfview; thank godane)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Dec 19 02:49:30 2011 +0100 (2011-12-19)
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 }