wok diff fxload/receipt @ rev 19334

apache: mkdir for PIDFILE
author Richard Dunbar <mojo@slitaz.org>
date Sun Jul 17 20:43:11 2016 -0400 (2016-07-17)
parents 380ffe05937a
children 86790a278e70
line diff
     1.1 --- a/fxload/receipt	Sat Aug 10 17:00:38 2013 +0000
     1.2 +++ b/fxload/receipt	Sun Jul 17 20:43:11 2016 -0400
     1.3 @@ -1,37 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="fxload"
     1.7 -VERSION="0.0.20020411"
     1.8 +VERSION="2008_10_13"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Utility to load xorcom astribank channel bank."
    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 -TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
    1.15 -EXTRA_SOURCE_FILES="$PACKAGE"
    1.16 -WEB_SITE="http://www.xorcom.com/"
    1.17 -WGET_URL="http://updates.xorcom.com/astribank/$PACKAGE/$TARBALL"
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.19 +WEB_SITE="http://sourceforge.net/projects/linux-hotplug/"
    1.20 +WGET_URL="$SF_MIRROR/linux-hotplug/$PACKAGE/$VERSION/$TARBALL"
    1.21  
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -	ln -s fxload-*_* $src
    1.26 -	cd $src
    1.27 -	mkdir -p $DESTDIR/usr/share/usb
    1.28 -	cp a3load.hex $DESTDIR/usr/share/usb || return 1
    1.29 -	[ -f $SOURCES_REPOSITORY/$PACKAGE ] && cp $SOURCES_REPOSITORY/$PACKAGE .
    1.30 -	if [ ! -f $PACKAGE ]; then
    1.31 -		wget http://updates.xorcom.com/astribank/$PACKAGE/$PACKAGE ||
    1.32 -			 return 1
    1.33 -		cp $PACKAGE $SOURCES_REPOSITORY
    1.34 -	fi
    1.35 -	chmod +x fxload
    1.36 -	mkdir -p $DESTDIR/usr/bin
    1.37 -	mv fxload $DESTDIR/usr/bin
    1.38 +	make
    1.39  }
    1.40  
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44 -	cp -a $install/usr $fs	
    1.45 +	mkdir -p $fs/usr/bin $fs/usr/share/usb
    1.46 +	install $src/fxload $fs/usr/bin
    1.47 +	install -m 0644 $src/a3load.hex $fs/usr/share/usb
    1.48  }
    1.49