wok annotate dfu-util/receipt @ rev 21642

created simple-mtpfs
author Hans-G?nter Theisgen
date Wed May 29 18:00:29 2019 +0100 (2019-05-29)
parents 95d7ea8749ce
children 7f2789b79625
rev   line source
pascal@17335 1 # SliTaz package receipt.
pascal@17335 2
pascal@17335 3 PACKAGE="dfu-util"
Hans-G?nter@20824 4 VERSION="0.9"
pascal@17335 5 CATEGORY="utilities"
pascal@17335 6 SHORT_DESC="Device Firmware Upgrade Utilities (for USB devices)."
pascal@17335 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17335 8 LICENSE="GPL2"
Hans-G?nter@20824 9 WEB_SITE="http://dfu-util.gnumonks.org/"
Hans-G?nter@20824 10
pascal@17335 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@20824 12 WGET_URL="http://dfu-util.sourceforge.net/releases/$TARBALL"
pascal@17335 13
pascal@17335 14 BUILD_DEPENDS="pkg-config glib libusb-dev"
pascal@17335 15
pascal@17335 16 # Rules to configure and make the package.
pascal@17335 17 compile_rules()
pascal@17335 18 {
Hans-G?nter@20824 19 ./configure \
Hans-G?nter@20824 20 --prefix=/usr \
pascal@17335 21 $CONFIGURE_ARGS &&
pascal@17335 22 make &&
pascal@17335 23 make DESTDIR=$DESTDIR install
pascal@17335 24 }
pascal@17335 25
pascal@17335 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17335 27 genpkg_rules()
pascal@17335 28 {
pascal@17335 29 mkdir -p $fs/usr
pascal@17335 30 cp -a $install/usr/bin $fs/usr
pascal@17335 31 }