wok-next diff unshield/receipt @ rev 20683

Up pciids (20180517), usbids (20180504)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 18 15:15:42 2018 +0300 (2018-05-18)
parents 9ec9982eef02
children d5aab818505e
line diff
     1.1 --- a/unshield/receipt	Mon Apr 10 09:48:32 2017 +0200
     1.2 +++ b/unshield/receipt	Fri May 18 15:15:42 2018 +0300
     1.3 @@ -1,34 +1,29 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="unshield"
     1.8  VERSION="0.5"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="Extract files from InstallShield CAB archive."
    1.11 +SHORT_DESC="Extract files from InstallShield CAB archive"
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 +WEB_SITE="https://sourceforge.net/projects/synce/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://kent.dl.sourceforge.net/sourceforge/synce/"
    1.18 -WGET_URL="http://kent.dl.sourceforge.net/sourceforge/synce/$TARBALL"
    1.19 -TAGS="windows exe cab"
    1.20 +WGET_URL="$SF_MIRROR/synce/$TARBALL"
    1.21  
    1.22 -DEPENDS="zlib"
    1.23  BUILD_DEPENDS="zlib-dev mysql-dev"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 +compile_rules() {
    1.29  	sed -i 's/_BSD_SOURCE/_DEFAULT_SOURCE/' */*.c
    1.30 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.31 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.32 +
    1.33 +	./configure $CONFIGURE_ARGS &&
    1.34 +	fix libtool &&
    1.35  	make &&
    1.36  	make DESTDIR=$DESTDIR install
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 -	mkdir -p $fs/usr/lib
    1.43 -	cp -a $install/usr/bin $fs/usr
    1.44 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.45 +genpkg_rules() {
    1.46 +	copy @std
    1.47 +	DEPENDS="zlib"
    1.48 +	TAGS="windows exe cab"
    1.49  }
    1.50 -