wok annotate nano/receipt @ rev 15051
ibus-dev: no /usr/include ?
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 18:56:11 2013 +0000 (2013-08-12) |
parents | b932b8cd3cfa |
children | 5613d51e1fdf |
rev | line source |
---|---|
pankso@19 | 1 # SliTaz package receipt. |
pankso@19 | 2 |
pankso@19 | 3 PACKAGE="nano" |
slaxemulator@7355 | 4 VERSION="2.2.6" |
pankso@201 | 5 CATEGORY="utilities" |
al@14334 | 6 SHORT_DESC="GNU Nano Text Editor" |
pankso@19 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
al@14334 | 9 WEB_SITE="http://www.nano-editor.org/" |
pankso@9675 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@14334 | 11 WGET_URL="${WEB_SITE}dist/v2.2/$TARBALL" |
pankso@9675 | 12 TAGS="text-editor" |
pankso@12837 | 13 HOST_ARCH="i486 arm" |
pankso@9675 | 14 |
al@14334 | 15 TRACKER="http://sourcewell.berlios.de/appbyid.php?id=1733" |
al@14334 | 16 VERSION_NOTE="latest stable" |
al@14334 | 17 |
pankso@4894 | 18 DEPENDS="ncursesw" |
al@14334 | 19 SUGGESTED="gpm" |
pankso@4894 | 20 BUILD_DEPENDS="ncursesw-dev" |
pankso@19 | 21 |
pankso@12837 | 22 export LDFLAGS="-L/usr/cross/arm/lib -L/usr/cross/arm/usr/lib" |
pankso@12837 | 23 |
pankso@19 | 24 # Rules to configure and make the package. |
pankso@19 | 25 compile_rules() |
pankso@19 | 26 { |
al@14334 | 27 ./configure \ |
al@14334 | 28 --sysconfdir=/etc \ |
al@14334 | 29 --localstatedir=/var \ |
pankso@4894 | 30 --enable-utf8 \ |
pankso@4894 | 31 $CONFIGURE_ARGS && |
al@14334 | 32 make && |
al@14334 | 33 make install |
pankso@19 | 34 } |
pankso@19 | 35 |
pankso@19 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@19 | 37 genpkg_rules() |
pankso@19 | 38 { |
al@14334 | 39 mkdir -p \ |
al@14334 | 40 $fs/etc \ |
al@14334 | 41 $fs/usr/share |
pankso@12837 | 42 cp -a $install/usr/bin $fs/usr |
pankso@12837 | 43 cp -a $install/usr/share/nano $fs/usr/share |
pankso@9675 | 44 # Config file. |
pankso@9675 | 45 cp $stuff/nanorc $fs/etc |
pankso@19 | 46 } |