wok-6.x annotate nano/receipt @ rev 6632

Added gdk-pixbuf-dev to gtk+-dev.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 10 12:28:59 2010 +0000 (2010-10-10)
parents 2c74efb0b0f8
children 172046663dc8
rev   line source
pankso@19 1 # SliTaz package receipt.
pankso@19 2
pankso@19 3 PACKAGE="nano"
slaxemulator@6243 4 VERSION="2.2.5"
pankso@201 5 CATEGORY="utilities"
pankso@19 6 SHORT_DESC="GNU Nano Text Editor."
pankso@19 7 MAINTAINER="pankso@slitaz.org"
pankso@4894 8 DEPENDS="ncursesw"
pankso@4894 9 BUILD_DEPENDS="ncursesw-dev"
pankso@19 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@19 11 WEB_SITE="http://www.nano-editor.org/"
devl547@5200 12 WGET_URL="http://www.nano-editor.org/dist/v2.2/$TARBALL"
jozee@4969 13 TAGS="text-editor"
pankso@19 14
pankso@19 15 # Rules to configure and make the package.
pankso@19 16 compile_rules()
pankso@19 17 {
pankso@19 18 cd $src
pankso@4894 19 ./configure \
pankso@4894 20 --prefix=/usr \
pankso@4894 21 --infodir=/usr/share/info \
pankso@4894 22 --mandir=/usr/share/man \
pankso@4894 23 --sysconfdir=/etc \
pankso@4894 24 --enable-all \
pankso@4894 25 --enable-extra \
pankso@4894 26 --enable-utf8 \
pankso@4894 27 $CONFIGURE_ARGS &&
pascal@1439 28 make &&
pankso@19 29 make DESTDIR=$PWD/_pkg install
pankso@19 30 }
pankso@19 31
pankso@19 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@19 33 genpkg_rules()
pankso@19 34 {
pankso@237 35 mkdir -p $fs/usr/share $fs/etc
pankso@19 36 cp -a $_pkg/usr/bin $fs/usr
pankso@19 37 cp -a $_pkg/usr/share/nano $fs/usr/share
pankso@19 38 # Config file.
pankso@19 39 cp stuff/nanorc $fs/etc
pankso@19 40 }