wok-next view libftdi/receipt @ rev 17400
gnutls-dev: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 27 21:50:32 2014 +0100 (2014-11-27) |
parents | 4458dff0ca4c |
children | 10865ec1261c |
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 }