wok-6.x view libftdi/receipt @ rev 15788
Up: connman-dev (1.20)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed Jan 15 21:22:21 2014 +0100 (2014-01-15) |
parents | 4458dff0ca4c |
children | a78610b2eb47 |
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="http://www.intra2net.com/en/developer/libftdi/"
11 WGET_URL="http://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 }