wok-6.x diff nano/receipt @ rev 45

Add : firefox with default files
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 18 14:20:16 2007 +0100 (2007-12-18)
parents
children 4959e5789caa
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nano/receipt	Tue Dec 18 14:20:16 2007 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="nano"
     1.7 +VERSION="2.0.6"
     1.8 +CATEGORY="base-apps"
     1.9 +SHORT_DESC="GNU Nano Text Editor."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="ncurses"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.nano-editor.org/"
    1.14 +WGET_URL="http://www.nano-editor.org/dist/v2.0/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +    cd $src
    1.20 +    ./configure --enable-all --enable-extra --prefix=/usr \
    1.21 +    --infodir=/usr/share/info --mandir=/usr/share/man \
    1.22 +    --sysconfdir=/etc $CONFIGURE_ARGS
    1.23 +    make
    1.24 +    make DESTDIR=$PWD/_pkg install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/share/locale/fr $fs/etc $fs/usr/share/pixmaps
    1.31 +    cp -a $_pkg/usr/bin $fs/usr
    1.32 +    cp -a $_pkg/usr/share/nano $fs/usr/share
    1.33 +    strip -s $fs/usr/bin/*
    1.34 +    cp -a $_pkg/usr/share/locale/fr/LC_MESSAGES $fs/usr/share/locale/fr
    1.35 +    # Config file.
    1.36 +    cp stuff/nanorc $fs/etc
    1.37 +    # Pixmap.
    1.38 +    cp stuff/nano.png $fs/usr/share/pixmaps
    1.39 +}