wok-current view texinfo/receipt @ rev 25549
created recipe for lesspipe
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 03 06:53:23 2023 +0100 (21 months ago) |
parents | 9b7b70c9feef |
children | 3ad63c8fc2f9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="texinfo"
4 VERSION="4.13a"
5 CATEGORY="development"
6 SHORT_DESC="GNU documentation tools."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/texinfo/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="documentation"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="ncurses-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to compile & install the temporary toolchain by Tazwok.
25 cook_tmp_toolchain()
26 {
27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ltinfo"
28 ./configure &&
29 make $MAKEFLAGS &&
30 make install
31 }
33 # Rules to configure and make the package.
34 compile_rules()
35 {
36 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ltinfo"
37 ./configure $CONFIGURE_ARGS &&
38 make && make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/share/$PACKAGE $fs/usr/share
47 }