# 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 }