# HG changeset patch # User Christophe Lincoln # Date 1304532933 -7200 # Node ID a55dc71802534ce1dae4075675bb302158603e73 # Parent 1f1bb923a1995f378e8ca275639afb8d338859f7 nano: clean-up receipt diff -r 1f1bb923a199 -r a55dc7180253 nano/receipt --- a/nano/receipt Tue May 03 04:53:22 2011 +0000 +++ b/nano/receipt Wed May 04 20:15:33 2011 +0200 @@ -5,36 +5,32 @@ 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" -TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.nano-editor.org/" -WGET_URL="http://www.nano-editor.org/dist/v2.2/$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 + 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 + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/nano $fs/usr/share + # Config file. + cp $stuff/nanorc $fs/etc } diff -r 1f1bb923a199 -r a55dc7180253 tazdev/receipt --- a/tazdev/receipt Tue May 03 04:53:22 2011 +0000 +++ b/tazdev/receipt Wed May 04 20:15:33 2011 +0200 @@ -8,7 +8,8 @@ DEPENDS="rsync" BUILD_DEPENDS="mercurial" SOURCE="slitaz-dev-tools" -WGET_URL="mercurial|http://hg.slitaz.org/slitaz-dev-tools" +WGET_URL="hg|http://hg.slitaz.org/slitaz-dev-tools" +TARBALL="$SOURCE-$VERSION.tar.gz" BRANCH="$VERSION" WEB_SITE="http://www.slitaz.org/"