wok-6.x view libftdi/receipt @ rev 23591
python-pysol-cards: added build dependency
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 08 10:35:39 2020 +0100 (2020-04-08) |
parents | 8f447cf2eee5 |
children | ede1d184d5c5 |
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.intra2net.com/en/developer/libftdi/"
11 WGET_URL="https://www.intra2net.com/en/developer/libftdi/download/$TARBALL"
13 DEPENDS="glibc-base libusb libusb-compat gcc-lib-base"
14 BUILD_DEPENDS="slitaz-toolchain libusb-dev libusb libusb-compat"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 cp -a $install/usr/bin $fs/usr
33 }