wok-next diff dcmtk/receipt @ rev 20712

libtorrent: fix rtorrent building for non-64bit archs
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 12:13:53 2018 +0300 (2018-05-27)
parents dd145c435e4b
children 91a25b55f102
line diff
     1.1 --- a/dcmtk/receipt	Wed Feb 28 17:32:31 2018 +0200
     1.2 +++ b/dcmtk/receipt	Sun May 27 12:13:53 2018 +0300
     1.3 @@ -6,39 +6,30 @@
     1.4  SHORT_DESC="The DICOM Toolkit"
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  LICENSE="other"
     1.7 +WEB_SITE="http://dicom.offis.de/dcmtk"
     1.8 +
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10 -WEB_SITE="http://dicom.offis.de/dcmtk"
    1.11  WGET_URL="ftp://dicom.offis.de/pub/dicom/offis/software/$PACKAGE/$PACKAGE${VERSION//./}/$TARBALL"
    1.12  
    1.13  BUILD_DEPENDS="libxml2-dev tiff-dev libpng16-dev zlib-dev libwrap-dev"
    1.14  SPLIT="dcmtk dcmtk-dev"
    1.15  
    1.16 -# Rules to configure and make the package.
    1.17 -compile_rules()
    1.18 -{
    1.19 -	./configure --prefix=/usr \
    1.20 +compile_rules() {
    1.21 +	./configure \
    1.22  		--sysconfdir=/etc/dcmtk \
    1.23 -		--mandir=/usr/share/man \
    1.24  		$CONFIGURE_ARGS &&
    1.25 -	make -j 1 &&
    1.26 +	make -j1 &&
    1.27  	make DESTDIR=$DESTDIR install
    1.28  }
    1.29  
    1.30 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 -genpkg_rules()
    1.32 -{
    1.33 +genpkg_rules() {
    1.34  	case $PACKAGE in
    1.35 -	dcmtk)
    1.36 -		DEPENDS="libxml2 tiff libpng16 libwrap"
    1.37 -		cp -a $install/* $fs/
    1.38 -		;;
    1.39 -	dcmtk-dev)
    1.40 -		CAT="development|development files"
    1.41 -		MAINTAINER="pascal.bellard@slitaz.org"
    1.42 -		DEPENDS="dcmtk"
    1.43 -		mkdir -p $fs/usr/include/dcmtk $fs/usr/lib
    1.44 -		cp -a $src/*/include/dcmtk/* $fs/usr/include/dcmtk
    1.45 -		cp -a $src/*/*/*a $fs/usr/lib
    1.46 -		;;
    1.47 +		dcmtk)
    1.48 +			copy @std
    1.49 +			DEPENDS="libxml2 tiff libpng16 libwrap"
    1.50 +			;;
    1.51 +		*-dev)
    1.52 +			copy @dev
    1.53 +			;;
    1.54  	esac
    1.55  }