wok view cd-discid/receipt @ rev 25516
memtest64: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 19 11:36:17 2023 +0000 (21 months ago) |
parents | c552db5929eb |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="cd-discid"
4 VERSION="1.4"
5 CATEGORY="multimedia"
6 TAGS="audio CD CDDB"
7 SHORT_DESC="Utility to get CDDB discid information from a CD-ROM disc"
8 MAINTAINER="domcox@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://linukz.org/cd-discid.shtml"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://linukz.org/download/$TARBALL"
15 DEPENDS=""
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make PREFIX=/usr &&
28 make PREFIX=/usr DESTDIR=$install install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }