wok view atm-tools/receipt @ rev 25353

updated tesseract-ocr-lang packages (3.02 -> 4.1.0)
author Hans-G?nter Theisgen
date Tue Jul 26 14:33:11 2022 +0100 (2022-07-26)
parents 11b5e93cb5f2
children 7dd01dedad38
line source
1 # SliTaz package receipt.
3 PACKAGE="atm-tools"
4 VERSION="2.5.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="User space tools for atm."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://linux-atm.sourceforge.net/"
10 SOURCE="linux-atm"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
13 CONFIG_FILES="/etc/atmsigd.conf"
15 BUILD_DEPENDS="flex"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/linux-atm/files/linux-atm/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*linux-atm-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 busybox patch -p0 < $stuff/MAX_PATH.u
30 ./configure --prefix=/usr --infodir=/usr/share/info \
31 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
32 make -j1 &&
33 make -j1 DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/etc $fs
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/sbin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 }