wok-next view libftdi/receipt @ rev 20709

cdrdao: add patch.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 26 17:09:29 2018 +0300 (2018-05-26)
parents 0ec6086e21d6
children a3c581bf52b8
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libftdi"
4 VERSION="0.18"
5 CATEGORY="system-tools"
6 SHORT_DESC="A library to talk to FTDI chips using libusb"
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="BSD GPL2 LGPL2"
9 WEB_SITE="http://www.intra2net.com/en/developer/libftdi/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.intra2net.com/en/developer/libftdi/download/$TARBALL"
14 BUILD_DEPENDS="slitaz-toolchain libusb-dev libusb libusb-compat-dev eudev-dev"
15 SPLIT="libftdi-dev"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 fix libtool &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 libftdi)
27 copy @std
28 DEPENDS="glibc-base libusb libusb-compat gcc-lib-base"
29 ;;
30 *-dev)
31 copy @dev
32 ;;
33 esac
34 }