wok-current rev 17335
Add dfu-util
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 05 16:17:22 2014 +0100 (2014-11-05) |
parents | 10d0f1cbf852 |
children | f65cd62e9a75 |
files | aespipe/receipt dfu-util/receipt |
line diff
1.1 --- a/aespipe/receipt Wed Nov 05 16:03:16 2014 +0100 1.2 +++ b/aespipe/receipt Wed Nov 05 16:17:22 2014 +0100 1.3 @@ -5,7 +5,7 @@ 1.4 CATEGORY="utilities" 1.5 SHORT_DESC="AES encrypting or decrypting pipe." 1.6 MAINTAINER="pascal.bellard@slitaz.org" 1.7 -LICENSE="" 1.8 +LICENSE="GPL" 1.9 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.10 WEB_SITE="http://loop-aes.sourceforge.net/aespipe.README" 1.11 WGET_URL="http://loop-aes.sourceforge.net/aespipe/$TARBALL"
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/dfu-util/receipt Wed Nov 05 16:17:22 2014 +0100 2.3 @@ -0,0 +1,29 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="dfu-util" 2.7 +VERSION="0.8" 2.8 +CATEGORY="utilities" 2.9 +SHORT_DESC="Device Firmware Upgrade Utilities (for USB devices)." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +LICENSE="GPL2" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WEB_SITE="http://dfu-util.gnumonks.org/" 2.14 +WGET_URL="${WEB_SITE}releases/$TARBALL" 2.15 + 2.16 +BUILD_DEPENDS="pkg-config glib libusb-dev" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + ./configure --prefix=/usr \ 2.22 + $CONFIGURE_ARGS && 2.23 + make && 2.24 + make DESTDIR=$DESTDIR install 2.25 +} 2.26 + 2.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.28 +genpkg_rules() 2.29 +{ 2.30 + mkdir -p $fs/usr 2.31 + cp -a $install/usr/bin $fs/usr 2.32 +}