wok-current view dcmtk/receipt @ rev 25721

Update slitaz-i18n for gnumeric
author Stanislas Leduc <shann@slitaz.org>
date Tue Jun 18 11:25:19 2024 +0000 (4 months ago)
parents ad9008f821da
children
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://web.archive.org/web/20221014093352/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 }