wok-current diff cddetect/receipt @ rev 22930

updated hiawatha (10.9 -> 10.10)
author Hans-G?nter Theisgen
date Wed Feb 26 15:55:59 2020 +0100 (2020-02-26)
parents
children 2a0479881723
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cddetect/receipt	Wed Feb 26 15:55:59 2020 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cddetect"
     1.7 +VERSION="2.1"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Tries to detect the type of a CD/DVD without mounting it"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.bellut.net/projects.html#cddetect"
    1.14 +WGET_URL="http://www.bellut.net/files/$TARBALL"
    1.15 +TAGS="CD DVD"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	#sed -i 's|-Wall|& -Wno-pointer-sign|' Makefile
    1.21 +	sed -i 's/<stdio.h>/&\n#include <limits.h>/' cddetect.c
    1.22 +	make
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/bin
    1.29 +	cp  $src/cddetect $fs/usr/bin
    1.30 +}
    1.31 +