wok annotate mytop/receipt @ rev 25629
Fix xscreensaver and up to 5.45 (thanks Pat)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Dec 19 20:23:40 2023 +0100 (10 months ago) |
parents | 9600878fc758 |
children |
rev | line source |
---|---|
pascal@19843 | 1 # SliTaz package receipt. |
pascal@19843 | 2 |
pascal@19843 | 3 PACKAGE="mytop" |
Hans-G?nter@23209 | 4 VERSION="1.9.1" |
pascal@19843 | 5 CATEGORY="misc" |
Hans-G?nter@23209 | 6 SHORT_DESC="Console-based MySQL monitoring tool." |
pascal@19843 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19843 | 8 LICENSE="GPL2" |
Hans-G?nter@23209 | 9 WEB_SITE="http://jeremy.zawodny.com/mysql/mytop/" |
Hans-G?nter@23209 | 10 |
pascal@19843 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@25610 | 12 #WGET_URL="https://web.archive.org/web/20150602163826if_/http://www.mysqlfanboy.com/mytop-3/$TARBALL" |
pascal@25610 | 13 WGET_URL="http://www.mysqlfanboy.com/mytop-3/$TARBALL" |
pascal@19843 | 14 |
pascal@19843 | 15 DEPENDS="perl-dbd-mysql perl-dbi perl-term-readkey" |
pascal@19843 | 16 BUILD_DEPENDS="$DEPENDS" |
pascal@19843 | 17 |
pascal@24453 | 18 # What is the latest version available today? |
pascal@24453 | 19 current_version() |
pascal@24453 | 20 { |
pascal@25610 | 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@25610 | 22 sed '/Version/!d;s|.*Version ||;s|<.*||;q' |
pascal@24453 | 23 } |
pascal@24453 | 24 |
pascal@19843 | 25 # Rules to configure and make the package. |
pascal@19843 | 26 compile_rules() |
pascal@19843 | 27 { |
Hans-G?nter@23209 | 28 perl Makefile.PL && |
pascal@19843 | 29 make && |
pascal@19843 | 30 make test && |
pascal@19843 | 31 make DESTDIR=$DESTDIR install |
pascal@19843 | 32 } |
pascal@19843 | 33 |
pascal@19843 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19843 | 35 genpkg_rules() |
pascal@19843 | 36 { |
Hans-G?nter@23209 | 37 cp -a $install/usr $fs |
pascal@19843 | 38 } |