wok-6.x view cddetect/receipt @ rev 23837
Up freetype (2.10.2), git (2.26.2), glpi (9.4.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 10:44:24 2020 +0000 (2020-06-01) |
parents | |
children | 2a0479881723 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cddetect"
4 VERSION="2.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Tries to detect the type of a CD/DVD without mounting it"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.bellut.net/projects.html#cddetect"
11 WGET_URL="http://www.bellut.net/files/$TARBALL"
12 TAGS="CD DVD"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 #sed -i 's|-Wall|& -Wno-pointer-sign|' Makefile
18 sed -i 's/<stdio.h>/&\n#include <limits.h>/' cddetect.c
19 make
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin
26 cp $src/cddetect $fs/usr/bin
27 }