wok annotate cddetect/receipt @ rev 24600
updated ghostscript and ghostscript-dev again (9.02 -> 9.55.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 02 07:43:51 2022 +0100 (2022-03-02) |
parents | 66abd4536e3f |
children | bc2b9d9bed6f |
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@24436 | 17 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24436 | 18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed 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 |