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