wok annotate aldo/receipt @ rev 25539

Up perl-test-compile (3.1.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 09 12:11:13 2023 +0000 (20 months ago)
parents 11b5e93cb5f2
children
rev   line source
pascal@17234 1 # SliTaz package receipt.
pascal@17234 2
pascal@17234 3 PACKAGE="aldo"
pascal@17234 4 VERSION="0.7.7"
pascal@17234 5 CATEGORY="misc"
pascal@17234 6 SHORT_DESC="Morse code learning tool."
pascal@17234 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17234 8 LICENSE="GPL3"
al@19275 9 WEB_SITE="http://www.nongnu.org/aldo/"
pascal@17234 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@17234 11 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"
pascal@17234 12
pascal@17234 13 DEPENDS="libao"
pascal@17234 14 BUILD_DEPENDS="libao-dev"
pascal@17234 15
pascal@24373 16 # What is the latest version available today?
pascal@24373 17 current_version()
pascal@24373 18 {
pascal@24373 19 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24373 20 sed "/atest/!d;/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\)<.*|\\1|"
pascal@24373 21 }
pascal@24373 22
pascal@17234 23 # Rules to configure and make the package.
pascal@17234 24 compile_rules()
pascal@17234 25 {
pascal@17234 26 ./configure \
pascal@17234 27 --prefix=/usr \
pascal@17234 28 --mandir=/usr/share/man \
pascal@17234 29 $CONFIGURE_ARGS &&
pascal@17234 30 make &&
pascal@17234 31 make DESTDIR=$DESTDIR install
pascal@17234 32 }
pascal@17234 33
pascal@17234 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17234 35 genpkg_rules()
pascal@17234 36 {
pascal@17234 37 mkdir -p $fs/usr
pascal@17234 38 cp -a $install/usr/bin $fs/usr
pascal@17234 39 }