wok annotate cddetect/receipt @ rev 24228
syslinux: add apple partitions (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 01 11:57:50 2022 +0000 (2022-01-01) |
parents | |
children | 2a0479881723 |
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@20695 | 14 # Rules to configure and make the package. |
pascal@20695 | 15 compile_rules() |
pascal@20695 | 16 { |
pascal@20695 | 17 #sed -i 's|-Wall|& -Wno-pointer-sign|' Makefile |
pascal@20695 | 18 sed -i 's/<stdio.h>/&\n#include <limits.h>/' cddetect.c |
pascal@20695 | 19 make |
pascal@20695 | 20 } |
pascal@20695 | 21 |
pascal@20695 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20695 | 23 genpkg_rules() |
pascal@20695 | 24 { |
pascal@20695 | 25 mkdir -p $fs/usr/bin |
pascal@20695 | 26 cp $src/cddetect $fs/usr/bin |
pascal@20695 | 27 } |
pascal@20695 | 28 |