wok-next view libftdi/receipt @ rev 21596
updated dos2unix (7.4.0 -> 7.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 14:10:06 2020 +0100 (2020-06-24) |
parents | a3c581bf52b8 |
children |
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="devel@slitaz.org"
8 LICENSE="BSD GPL2 LGPL2"
9 WEB_SITE="https://www.intra2net.com/en/developer/libftdi/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://www.intra2net.com/en/developer/libftdi/download/$TARBALL"
14 BUILD_DEPENDS="slitaz-toolchain libusb-dev libusb libusb-compat-dev eudev-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 fix libtool &&
20 make &&
21 make DESTDIR=$install 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 }