wok-6.x annotate ytree/receipt @ rev 14330

Up: connman-dev (1.12)
author Dominique Corbex <domcox@slitaz.org>
date Fri Apr 12 19:57:58 2013 +0200 (2013-04-12)
parents 311b26630a22
children 408c87fa22ca
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"
allan316@2817 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
allan316@2817 9 WEB_SITE="http://www.han.de/~werner/ytree.html"
allan316@2817 10 WGET_URL="http://www.han.de/~werner/$TARBALL"
jozee@4977 11 TAGS="file-manager file-browser"
pankso@12853 12 HOST_ARCH="i486 arm"
pankso@12853 13
pankso@12853 14 DEPENDS="ncursesw"
pankso@12853 15 BUILD_DEPENDS="ncursesw-dev"
allan316@2817 16
allan316@2817 17 # Rules to configure and make the package.
allan316@2817 18 compile_rules()
allan316@2817 19 {
allan316@2817 20 cd $src
pankso@12853 21 # Dont use readline && utf-8 support via ncursesw && -0s to save ~10kb :-)
pankso@12853 22 sed -i \
pankso@12853 23 -e s"/CFLAGS.*/CFLAGS = -D_GNU_SOURCE -DWITH_UTF8 -Os -DCOLOR_SUPPORT/" \
pankso@12853 24 -e s"/-lncurses -lreadline/-lncursesw/" \
pankso@12853 25 Makefile &&
allan316@2817 26 make
allan316@2817 27 }
allan316@2817 28
allan316@2817 29 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@2817 30 genpkg_rules()
allan316@2817 31 {
allan316@2817 32 mkdir -p $fs/usr/bin
allan316@2817 33 cp -a $src/ytree $fs/usr/bin
allan316@2817 34 }
allan316@2817 35