wok-next annotate ytree/receipt @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents c4e53a39395a
children
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"
al@21020 6 SHORT_DESC="File manager for file and archives"
allan316@2817 7 MAINTAINER="allan316@gmail.com"
pascal@15001 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://www.han.de/~werner/ytree.html"
al@21020 10
allan316@2817 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
allan316@2817 12 WGET_URL="http://www.han.de/~werner/$TARBALL"
pankso@12853 13
pascal@19952 14 BUILD_DEPENDS="ncurses-dev"
allan316@2817 15
al@21020 16 compile_rules() {
al@21020 17 # Don't use readline && utf-8 support via ncursesw && -Os to save ~10kb :-)
pankso@12853 18 sed -i \
pankso@12853 19 -e s"/CFLAGS.*/CFLAGS = -D_GNU_SOURCE -DWITH_UTF8 -Os -DCOLOR_SUPPORT/" \
pankso@12853 20 -e s"/-lncurses -lreadline/-lncursesw/" \
al@21020 21 Makefile
al@21020 22
al@21020 23 make &&
al@21020 24 install -Dm755 ytree $install/usr/bin/ytree
allan316@2817 25 }
allan316@2817 26
al@21020 27 genpkg_rules() {
al@21020 28 copy @std
al@21020 29 DEPENDS="ncurses"
al@21020 30 TAGS="file-manager"
allan316@2817 31 }