wok-next diff libdes/receipt @ rev 19948

Up ghostscript (9.22) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 16 12:07:55 2017 +0200 (2017-10-16)
parents 0f6e994c05b9
children a3c581bf52b8
line diff
     1.1 --- a/libdes/receipt	Tue Aug 13 17:28:10 2013 +0000
     1.2 +++ b/libdes/receipt	Mon Oct 16 12:07:55 2017 +0200
     1.3 @@ -1,28 +1,34 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libdes"
     1.8  VERSION="4.04b"
     1.9  CATEGORY="security"
    1.10 -SHORT_DESC="library for DES encryption"
    1.11 +SHORT_DESC="Library for DES encryption"
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="MIT"
    1.14  WEB_SITE="http://linux.maruhn.com/sec/libdes.html"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="ftp://ftp.kfki.hu/pub/packages/security/ssh/ossh/$TARBALL"
    1.18  
    1.19 +SPLIT="libdes-dev"
    1.20 +
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 -	cd $src
    1.25 -	make
    1.26 -	mkdir -p $DESTDIR/usr/lib $DESTDIR/usr/bin $DESTDIR/usr/include \
    1.27 -		 $DESTDIR/usr/share/man/man1 $DESTDIR/usr/share/man/man3
    1.28 -	make LIBDIR=$DESTDIR/usr/lib BINDIR=$DESTDIR/usr/bin INCDIR=$DESTDIR/usr/include MANDIR=$DESTDIR/usr/share/man install
    1.29 +	sed -i "s|/usr/local/|$install/usr/|; s|/usr/man|/usr/share/man|" Makefile
    1.30 +	for i in lib bin include share/man/man1 share/man/man3; do
    1.31 +		mkdir -p $install/usr/$i
    1.32 +	done
    1.33 +
    1.34 +	make install
    1.35  }
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40 -	mkdir -p $fs/usr
    1.41 -	cp -a $install/usr/bin $fs/usr
    1.42 +	case $PACKAGE in
    1.43 +		libdes) copy @std;;
    1.44 +		*-dev)  copy @dev;;
    1.45 +	esac
    1.46  }