wok annotate cddetect/receipt @ rev 25002

updated nrg2iso (0.4 -> 0.4.1)
author Hans-G?nter Theisgen
date Mon May 16 14:45:30 2022 +0100 (2022-05-16)
parents 2a0479881723
children 0c82700f4deb
rev   line source
pascal@20695 1 # SliTaz package receipt.
pascal@20695 2
pascal@20695 3 PACKAGE="cddetect"
pascal@20695 4 VERSION="2.1"
pascal@20695 5 CATEGORY="system-tools"
pascal@20695 6 SHORT_DESC="Tries to detect the type of a CD/DVD without mounting it"
pascal@20695 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20695 8 LICENSE="GPL2"
pascal@20695 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20695 10 WEB_SITE="http://www.bellut.net/projects.html#cddetect"
pascal@20695 11 WGET_URL="http://www.bellut.net/files/$TARBALL"
pascal@20695 12 TAGS="CD DVD"
pascal@20695 13
pascal@24436 14 # What is the latest version available today?
pascal@24436 15 current_version()
pascal@24436 16 {
pascal@24614 17 wget -O - http://www.bellut.net/projects.html 2>/dev/null | \
pascal@24614 18 sed '/cddetect-[0-9]/!d;s|.*cddetect-||;s|.t.*||;q'
pascal@24436 19 }
pascal@24436 20
pascal@20695 21 # Rules to configure and make the package.
pascal@20695 22 compile_rules()
pascal@20695 23 {
pascal@20695 24 #sed -i 's|-Wall|& -Wno-pointer-sign|' Makefile
pascal@20695 25 sed -i 's/<stdio.h>/&\n#include <limits.h>/' cddetect.c
pascal@20695 26 make
pascal@20695 27 }
pascal@20695 28
pascal@20695 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20695 30 genpkg_rules()
pascal@20695 31 {
pascal@20695 32 mkdir -p $fs/usr/bin
pascal@20695 33 cp $src/cddetect $fs/usr/bin
pascal@20695 34 }
pascal@20695 35