wok-next annotate libftdi/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents a3c581bf52b8
children
rev   line source
al@20462 1 # SliTaz package receipt v2.
rcx@3715 2
rcx@3715 3 PACKAGE="libftdi"
rcx@6009 4 VERSION="0.18"
rcx@3715 5 CATEGORY="system-tools"
al@20462 6 SHORT_DESC="A library to talk to FTDI chips using libusb"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15473 8 LICENSE="BSD GPL2 LGPL2"
al@20906 9 WEB_SITE="https://www.intra2net.com/en/developer/libftdi/"
al@20462 10
rcx@3715 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20906 12 WGET_URL="https://www.intra2net.com/en/developer/libftdi/download/$TARBALL"
rcx@3715 13
al@20623 14 BUILD_DEPENDS="slitaz-toolchain libusb-dev libusb libusb-compat-dev eudev-dev"
al@21020 15 SPLIT="$PACKAGE-dev"
pascal@15473 16
al@20462 17 compile_rules() {
al@20557 18 ./configure $CONFIGURE_ARGS &&
al@20575 19 fix libtool &&
rcx@3715 20 make &&
al@21020 21 make DESTDIR=$install install
rcx@3715 22 }
rcx@3715 23
al@20462 24 genpkg_rules() {
al@20462 25 case $PACKAGE in
al@20462 26 libftdi)
al@20557 27 copy @std
al@20462 28 DEPENDS="glibc-base libusb libusb-compat gcc-lib-base"
al@20462 29 ;;
al@20462 30 *-dev)
al@20557 31 copy @dev
al@20462 32 ;;
al@20462 33 esac
rcx@3715 34 }