wok-next annotate ytree/receipt @ rev 18483
Up slitaz-configs(263)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Oct 09 01:31:14 2015 +0300 (2015-10-09) |
parents | 408c87fa22ca |
children | 6c12ac1293fc |
rev | line source |
---|---|
allan316@2817 | 1 # SliTaz package receipt. |
allan316@2817 | 2 |
allan316@2817 | 3 PACKAGE="ytree" |
slaxemulator@11127 | 4 VERSION="1.97" |
allan316@2817 | 5 CATEGORY="utilities" |
allan316@2817 | 6 SHORT_DESC="file manager for file and archives" |
allan316@2817 | 7 MAINTAINER="allan316@gmail.com" |
pascal@15001 | 8 LICENSE="GPL2" |
allan316@2817 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
allan316@2817 | 10 WEB_SITE="http://www.han.de/~werner/ytree.html" |
allan316@2817 | 11 WGET_URL="http://www.han.de/~werner/$TARBALL" |
al@17501 | 12 TAGS="file-manager" |
pankso@12853 | 13 HOST_ARCH="i486 arm" |
pankso@12853 | 14 |
pankso@12853 | 15 DEPENDS="ncursesw" |
pankso@12853 | 16 BUILD_DEPENDS="ncursesw-dev" |
allan316@2817 | 17 |
allan316@2817 | 18 # Rules to configure and make the package. |
allan316@2817 | 19 compile_rules() |
allan316@2817 | 20 { |
allan316@2817 | 21 cd $src |
pankso@12853 | 22 # Dont use readline && utf-8 support via ncursesw && -0s to save ~10kb :-) |
pankso@12853 | 23 sed -i \ |
pankso@12853 | 24 -e s"/CFLAGS.*/CFLAGS = -D_GNU_SOURCE -DWITH_UTF8 -Os -DCOLOR_SUPPORT/" \ |
pankso@12853 | 25 -e s"/-lncurses -lreadline/-lncursesw/" \ |
pankso@12853 | 26 Makefile && |
allan316@2817 | 27 make |
allan316@2817 | 28 } |
allan316@2817 | 29 |
allan316@2817 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@2817 | 31 genpkg_rules() |
allan316@2817 | 32 { |
allan316@2817 | 33 mkdir -p $fs/usr/bin |
allan316@2817 | 34 cp -a $src/ytree $fs/usr/bin |
allan316@2817 | 35 } |
allan316@2817 | 36 |