wok-next diff fxload/receipt @ rev 20839

p11-kit: upgrade 0.23.8 (2017 Aug) -> 0.23.12
author Erkan Yilmaz <erkan@slitaz.org>
date Wed Jun 20 07:32:40 2018 +0000 (2018-06-20)
parents 6d04a1dcf69f
children a3c581bf52b8
line diff
     1.1 --- a/fxload/receipt	Wed Nov 05 14:56:51 2014 +0100
     1.2 +++ b/fxload/receipt	Wed Jun 20 07:32:40 2018 +0000
     1.3 @@ -1,26 +1,23 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="fxload"
     1.8  VERSION="2008_10_13"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Download firmware into FX, FX2, and FX2LP EZ-USB devices."
    1.11 +SHORT_DESC="Download firmware into FX, FX2, and FX2LP EZ-USB devices"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://sourceforge.net/projects/linux-hotplug/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://sourceforge.net/projects/linux-hotplug/"
    1.18 -WGET_URL="$SF_MIRROR/linux-hotplug/$PACKAGE/$VERSION/$TARBALL"
    1.19 +WGET_URL="$SF_MIRROR/linux-hotplug/$TARBALL"
    1.20  
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 -	make
    1.25 +compile_rules() {
    1.26 +	make || return 1
    1.27 +
    1.28 +	install -Dm755 $src/fxload     $install/usr/bin/fxload
    1.29 +	install -Dm644 $src/a3load.hex $install/usr/share/usb/a3load.hex
    1.30  }
    1.31  
    1.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 -genpkg_rules()
    1.34 -{
    1.35 -	mkdir -p $fs/usr/bin $fs/usr/share/usb
    1.36 -	install $src/fxload $fs/usr/bin
    1.37 -	install -m 0644 $src/a3load.hex $fs/usr/share/usb
    1.38 +genpkg_rules() {
    1.39 +	copy @std
    1.40  }
    1.41 -