SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "nano"

# SliTaz package receipt.

PACKAGE="nano"
VERSION="2.2.6"
CATEGORY="utilities"
SHORT_DESC="GNU Nano Text Editor."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.nano-editor.org/"
WGET_URL="$WEB_SITE/dist/v2.2/$TARBALL"
TAGS="text-editor"

DEPENDS="ncursesw"
BUILD_DEPENDS="ncursesw-dev"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
        --enable-all \
        --enable-extra \
        --enable-utf8 \
        $CONFIGURE_ARGS &&
    make && make 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
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)