wok-next annotate dcmtk/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 5669e8b3be70
children
rev   line source
pascal@20291 1 # SliTaz package receipt v2.
pascal@18160 2
pascal@18160 3 PACKAGE="dcmtk"
pascal@18160 4 VERSION="3.6.0"
pascal@18160 5 CATEGORY="misc"
pascal@20291 6 SHORT_DESC="The DICOM Toolkit"
pascal@18160 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18160 8 LICENSE="other"
al@20906 9 WEB_SITE="https://dicom.offis.de/dcmtk"
al@20534 10
pascal@18160 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@18160 12 WGET_URL="ftp://dicom.offis.de/pub/dicom/offis/software/$PACKAGE/$PACKAGE${VERSION//./}/$TARBALL"
pascal@18160 13
al@21078 14 BUILD_DEPENDS="libxml2-dev tiff-dev libpng-dev zlib-dev" # libwrap-dev
al@21020 15 #SPLIT="$PACKAGE-dev"
pascal@18160 16
al@20534 17 compile_rules() {
al@20534 18 ./configure \
pascal@18160 19 --sysconfdir=/etc/dcmtk \
pascal@18160 20 $CONFIGURE_ARGS &&
al@20534 21 make -j1 &&
al@21020 22 make DESTDIR=$install install
pascal@18160 23 }
pascal@18160 24
al@20534 25 genpkg_rules() {
pascal@20291 26 case $PACKAGE in
al@20534 27 dcmtk)
al@20534 28 copy @std
al@21080 29 DEPENDS="libpng libxml2 libtiff zlib" # libwrap
al@20534 30 ;;
al@20534 31 *-dev)
al@20534 32 copy @dev
al@20534 33 ;;
pascal@20291 34 esac
pascal@18160 35 }