wok-next annotate dcmtk/receipt @ rev 20364
Up palemoon (27.6.1)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Nov 24 05:32:16 2017 +0100 (2017-11-24) |
parents | e4d238a76a77 |
children | dd145c435e4b |
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" |
pascal@18160 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18160 | 10 WEB_SITE="http://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 BUILD_DEPENDS="libxml2-dev tiff-dev libpng-dev zlib-dev libwrap-dev" |
pascal@20291 | 14 SPLIT="dcmtk dcmtk-dev" |
pascal@18160 | 15 |
pascal@18160 | 16 # Rules to configure and make the package. |
pascal@18160 | 17 compile_rules() |
pascal@18160 | 18 { |
pascal@18160 | 19 ./configure --prefix=/usr \ |
pascal@18160 | 20 --sysconfdir=/etc/dcmtk \ |
pascal@18160 | 21 --mandir=/usr/share/man \ |
pascal@18160 | 22 $CONFIGURE_ARGS && |
pascal@18160 | 23 make -j 1 && |
pascal@18160 | 24 make DESTDIR=$DESTDIR install |
pascal@18160 | 25 } |
pascal@18160 | 26 |
pascal@18160 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18160 | 28 genpkg_rules() |
pascal@18160 | 29 { |
pascal@20291 | 30 case $PACKAGE in |
pascal@20291 | 31 dcmtk) |
pascal@20291 | 32 DEPENDS="libxml2 tiff libpng libwrap" |
pascal@20291 | 33 cp -a $install/* $fs/ |
pascal@20291 | 34 ;; |
pascal@20291 | 35 dcmtk-dev) |
pascal@20291 | 36 CAT="development|development files" |
pascal@20291 | 37 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20291 | 38 DEPENDS="dcmtk" |
pascal@20291 | 39 mkdir -p $fs/usr/include/dcmtk $fs/usr/lib |
pascal@20291 | 40 cp -a $src/*/include/dcmtk/* $fs/usr/include/dcmtk |
pascal@20291 | 41 cp -a $src/*/*/*a $fs/usr/lib |
pascal@20291 | 42 ;; |
pascal@20291 | 43 esac |
pascal@18160 | 44 } |