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

created recipe for mrxvt-unicode
author Hans-G?nter Theisgen
date Tue Sep 22 15:33:55 2020 +0100 (2020-09-22)
parents 5d53e8ccbc8d
children 922f061231c2
rev   line source
allan316@2817 1 # SliTaz package receipt.
allan316@2817 2
allan316@2817 3 PACKAGE="ytree"
Hans-G?nter@23791 4 VERSION="2.02"
allan316@2817 5 CATEGORY="utilities"
Hans-G?nter@23791 6 TAGS="file-manager"
Hans-G?nter@23791 7 SHORT_DESC="A curses-based file manager."
allan316@2817 8 MAINTAINER="allan316@gmail.com"
pascal@15001 9 LICENSE="GPL2"
Hans-G?nter@23791 10 WEB_SITE="https://www.han.de/~werner/ytree.html"
Hans-G?nter@23791 11
allan316@2817 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@23791 13 WGET_URL="https://www.han.de/~werner/$TARBALL"
pankso@12853 14
pankso@12853 15 DEPENDS="ncursesw"
pankso@12853 16 BUILD_DEPENDS="ncursesw-dev"
allan316@2817 17
Hans-G?nter@23791 18 HOST_ARCH="i486 arm"
Hans-G?nter@23791 19
allan316@2817 20 # Rules to configure and make the package.
allan316@2817 21 compile_rules()
allan316@2817 22 {
pankso@12853 23 # Dont use readline && utf-8 support via ncursesw && -0s to save ~10kb :-)
pankso@12853 24 sed -i \
pankso@12853 25 -e s"/CFLAGS.*/CFLAGS = -D_GNU_SOURCE -DWITH_UTF8 -Os -DCOLOR_SUPPORT/" \
pankso@12853 26 -e s"/-lncurses -lreadline/-lncursesw/" \
pankso@12853 27 Makefile &&
allan316@2817 28 make
allan316@2817 29 }
allan316@2817 30
allan316@2817 31 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@2817 32 genpkg_rules()
allan316@2817 33 {
allan316@2817 34 mkdir -p $fs/usr/bin
Hans-G?nter@23791 35 cp -a $src/ytree $fs/usr/bin
allan316@2817 36 }