wok-6.x annotate dcmtk/receipt @ rev 24626
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 07 17:32:18 2022 +0000 (2022-03-07) |
parents | bfabe25c21ff |
children | c3a6f662a1c1 |
rev | line source |
---|---|
pascal@18160 | 1 # SliTaz package receipt. |
pascal@18160 | 2 |
pascal@18160 | 3 PACKAGE="dcmtk" |
pascal@18160 | 4 VERSION="3.6.0" |
pascal@18160 | 5 CATEGORY="misc" |
pascal@18160 | 6 SHORT_DESC="The DICOM Toolkit." |
pascal@18160 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18160 | 8 LICENSE="other" |
pascal@18160 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20669 | 10 WEB_SITE="https://dicom.offis.de/dcmtk" |
pascal@18160 | 11 WGET_URL="ftp://dicom.offis.de/pub/dicom/offis/software/$PACKAGE/$PACKAGE${VERSION//./}/$TARBALL" |
pascal@18160 | 12 |
pascal@18160 | 13 DEPENDS="libxml2 tiff libpng libwrap" |
pascal@18160 | 14 BUILD_DEPENDS="libxml2-dev tiff-dev libpng-dev zlib-dev libwrap-dev" |
pascal@18160 | 15 |
pascal@24439 | 16 # What is the latest version available today? |
pascal@24439 | 17 current_version() |
pascal@24439 | 18 { |
pascal@24439 | 19 wget -O - https://github.com/DCMTK/dcmtk/tags 2>/dev/null | \ |
pascal@24626 | 20 sed '/archive.*tar/!d;/\+_/d;s|.*/[A-Z_-]*\(.*\).[t_].*|\1|;q' |
pascal@24439 | 21 } |
pascal@24439 | 22 |
pascal@18160 | 23 # Rules to configure and make the package. |
pascal@18160 | 24 compile_rules() |
pascal@18160 | 25 { |
pascal@18160 | 26 ./configure --prefix=/usr \ |
pascal@18160 | 27 --sysconfdir=/etc/dcmtk \ |
pascal@18160 | 28 --mandir=/usr/share/man \ |
pascal@18160 | 29 $CONFIGURE_ARGS && |
pascal@18160 | 30 make -j 1 && |
pascal@18160 | 31 make DESTDIR=$DESTDIR install |
pascal@18160 | 32 } |
pascal@18160 | 33 |
pascal@18160 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18160 | 35 genpkg_rules() |
pascal@18160 | 36 { |
pascal@18160 | 37 cp -a $install/* $fs/ |
pascal@18160 | 38 } |