wok annotate dcmtk/receipt @ rev 25539

Up perl-test-compile (3.1.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 09 12:11:13 2023 +0000 (15 months ago)
parents ad9008f821da
children
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@25539 10 WEB_SITE="https://web.archive.org/web/20221014093352/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 }