wok diff cddetect/receipt @ rev 21802

linld/iso2exe: remove non slitaz dos boot (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 18:59:42 2019 +0200 (2019-08-10)
parents
children 2a0479881723
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cddetect/receipt	Sat Aug 10 18:59:42 2019 +0200
     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 +