wok-next view ytree/receipt @ rev 20026

Add tesseract-ocr-lang
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 22 14:09:43 2017 +0200 (2017-10-22)
parents 5d53e8ccbc8d
children c4e53a39395a
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"
13 HOST_ARCH="i486 arm"
15 DEPENDS="ncurses"
16 BUILD_DEPENDS="ncurses-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # Dont use readline && utf-8 support via ncursesw && -0s to save ~10kb :-)
22 sed -i \
23 -e s"/CFLAGS.*/CFLAGS = -D_GNU_SOURCE -DWITH_UTF8 -Os -DCOLOR_SUPPORT/" \
24 -e s"/-lncurses -lreadline/-lncursesw/" \
25 Makefile &&
26 make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $src/ytree $fs/usr/bin
34 }