wok-current annotate ytree/receipt @ rev 15001
Add some GPL2 licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 17:48:05 2013 +0000 (2013-08-10) |
parents | cc39d5e5463c |
children | 5d53e8ccbc8d |
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" |
jozee@4977 | 12 TAGS="file-manager file-browser" |
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 |