wok-current view gritz/receipt @ rev 24107

updated adminer (4.7.5 -> 4.8.1)
author Hans-G?nter Theisgen
date Sat Sep 25 17:50:51 2021 +0100 (2021-09-25)
parents 7f212d212273
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gritz"
4 VERSION="1.0"
5 CATEGORY="misc"
6 SHORT_DESC="A txt reader, which makes you reading twice as fast as usual."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/xypiie/gritz"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 DEPENDS="perl-gtk2"
14 BUILD_DEPENDS="wget perl"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 libperl=$(tazpkg list-files perl | \
26 sed '/^\/usr\/lib\/perl/!d;s|\(/usr/lib/perl[^/]*/[^/]*\).*|\1|;q')
27 mkdir -p $fs/usr/bin $fs$libperl
28 cp -a $src/lib/*.pm $fs$libperl
29 cp -a $src/gritz.pl $fs/usr/bin/gritz
30 }