wok-current view nano/receipt @ rev 13702

Add get-geogebra
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 17 10:35:12 2012 +0100 (2012-12-17)
parents a55dc7180253
children b932b8cd3cfa
line source
1 # SliTaz package receipt.
3 PACKAGE="nano"
4 VERSION="2.2.6"
5 CATEGORY="utilities"
6 SHORT_DESC="GNU Nano Text Editor."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.nano-editor.org/"
10 WGET_URL="$WEB_SITE/dist/v2.2/$TARBALL"
11 TAGS="text-editor"
12 HOST_ARCH="i486 arm"
14 DEPENDS="ncursesw"
15 BUILD_DEPENDS="ncursesw-dev"
17 export LDFLAGS="-L/usr/cross/arm/lib -L/usr/cross/arm/usr/lib"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --enable-all \
25 --enable-extra \
26 --enable-utf8 \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share $fs/etc
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share/nano $fs/usr/share
37 # Config file.
38 cp $stuff/nanorc $fs/etc
39 }