wok view dcmtk/receipt @ rev 18472

ghostscript, libv4l, slitaz-base-files: fix installation (thanks llev)
ghostscript: fix package upgrades;
libv4l: check multiple preloads in case of upgrade, not add preload if installation not finished/fails;
slitaz-base-files: not to overwrite real sudo.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 05 01:10:26 2015 +0300 (2015-10-05)
parents
children a78610b2eb47
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="http://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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --prefix=/usr \
20 --sysconfdir=/etc/dcmtk \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make -j 1 &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/* $fs/
31 }