nano --version
GNU nano version 2.0.9 (compiled 18:03:24, Feb 24 2010)
(C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
Free Software Foundation, Inc.
Email: nano@nano-editor.org Web: http://www.nano-editor.org/
Compiled options: --enable-color --enable-extra --enable-multibuffer --enable-nanorc --enable-utf8
# SliTaz package receipt.
PACKED_SIZE="100.0k"
UNPACKED_SIZE="332.0k"
PACKAGE="nano"
VERSION="2.0.9"
CATEGORY="utilities"
SHORT_DESC="GNU Nano Text Editor."
MAINTAINER="pankso@slitaz.org"
DEPENDS="ncursesw"
BUILD_DEPENDS="ncursesw-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.nano-editor.org/"
WGET_URL="http://www.nano-editor.org/dist/v2.0/$TARBALL"
TAGS="text-editor"
# Rules to configure and make the package.
compile_rules()
{
cd $src
./configure \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--sysconfdir=/etc \
--enable-all \
--enable-extra \
--enable-utf8 \
$CONFIGURE_ARGS &&
make &&
make DESTDIR=$PWD/_pkg install
}
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
mkdir -p $fs/usr/share $fs/etc
cp -a $_pkg/usr/bin $fs/usr
cp -a $_pkg/usr/share/nano $fs/usr/share
# Config file.
cp stuff/nanorc $fs/etc
}
It looks like you're new here. If you want to get involved, click one of these buttons!