wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="aldo"
4 VERSION="0.7.7"
5 CATEGORY="misc"
6 SHORT_DESC="Morse code learning tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.nongnu.org/aldo/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"
13 DEPENDS="libao"
14 BUILD_DEPENDS="libao-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed "/atest/!d;/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\)<.*|\\1|"
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 }