wok-current view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ytree"
4 VERSION="1.97"
5 CATEGORY="utilities"
6 SHORT_DESC="file manager for file and archives"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.han.de/~werner/ytree.html"
11 WGET_URL="http://www.han.de/~werner/$TARBALL"
12 TAGS="file-manager file-browser"
13 HOST_ARCH="i486 arm"
15 DEPENDS="ncursesw"
16 BUILD_DEPENDS="ncursesw-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 # Dont use readline && utf-8 support via ncursesw && -0s to save ~10kb :-)
23 sed -i \
24 -e s"/CFLAGS.*/CFLAGS = -D_GNU_SOURCE -DWITH_UTF8 -Os -DCOLOR_SUPPORT/" \
25 -e s"/-lncurses -lreadline/-lncursesw/" \
26 Makefile &&
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $src/ytree $fs/usr/bin
35 }