wok-6.x view libftdi/receipt @ rev 15497
Up: firefox-langpack-pt_PT (17.0.10esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 17 16:30:02 2013 +0100 (2013-11-17) |
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 }