wok-next view libftdi/receipt @ rev 21112
retawq: enable HTTPS support
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 12 13:31:42 2019 +0200 (2019-01-12) |
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 }