wok-next diff sunxi-tools/receipt @ rev 20503
Packing...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 16 06:03:21 2018 +0200 (2018-03-16) |
parents | 380ffe05937a |
children | d5aab818505e |
line diff
1.1 --- a/sunxi-tools/receipt Sat Aug 10 17:00:38 2013 +0000 1.2 +++ b/sunxi-tools/receipt Fri Mar 16 06:03:21 2018 +0200 1.3 @@ -1,31 +1,28 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="sunxi-tools" 1.8 VERSION="1.1-80-g3561247" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="help hacking Allwinner A10 (aka sun4i) based devices." 1.11 +SHORT_DESC="Help hacking Allwinner A10 (aka sun4i) based devices" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 WEB_SITE="http://linux-sunxi.org/Sunxi-tools" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 WGET_URL="https://nodeload.github.com/amery/sunxi-tools/tarball/v${VERSION}" 1.18 1.19 -DEPENDS="libusb" 1.20 -BUILD_DEPENDS="wget pkg-config libusb-dev" 1.21 +BUILD_DEPENDS="libusb-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - cd $src 1.27 - make && make phoenix_info 1.28 +compile_rules() { 1.29 + make && make phoenix_info || return 1 1.30 + 1.31 + mkdir -p $install/usr/bin/ 1.32 + cp pio nand-part fexc fex2bin fel fel-gpio bin/fel-pio.bin \ 1.33 + bootinfo bin2fex bin/jtag-loop.sunxi phoenix_info \ 1.34 + $install/usr/bin/ 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/bin 1.41 - for i in pio nand-part fexc fex2bin fel fel-gpio bin/fel-pio.bin \ 1.42 - bootinfo bin2fex bin/jtag-loop.sunxi phoenix_info ; do 1.43 - cp -a $src/$i $fs/usr/bin 1.44 - done 1.45 +genpkg_rules() { 1.46 + copy @std 1.47 + DEPENDS="libusb" 1.48 }