wok-current annotate mytop/receipt @ rev 24353
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 03 12:55:23 2022 +0000 (2022-02-03) |
parents | 26588c3dfe81 |
children | 241fb98cab1c |
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" |
Hans-G?nter@23209 | 12 WGET_URL="http://www.mysqlfanboy.com/mytop-3/$TARBALL" |
pascal@19843 | 13 |
pascal@19843 | 14 DEPENDS="perl-dbd-mysql perl-dbi perl-term-readkey" |
pascal@19843 | 15 BUILD_DEPENDS="$DEPENDS" |
pascal@19843 | 16 |
pascal@19843 | 17 # Rules to configure and make the package. |
pascal@19843 | 18 compile_rules() |
pascal@19843 | 19 { |
Hans-G?nter@23209 | 20 perl Makefile.PL && |
pascal@19843 | 21 make && |
pascal@19843 | 22 make test && |
pascal@19843 | 23 make DESTDIR=$DESTDIR install |
pascal@19843 | 24 } |
pascal@19843 | 25 |
pascal@19843 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19843 | 27 genpkg_rules() |
pascal@19843 | 28 { |
Hans-G?nter@23209 | 29 cp -a $install/usr $fs |
pascal@19843 | 30 } |