wok view libftdi/receipt @ rev 6928

Up: elfutils to 0.149. Fixed it to build in clean chroot. Fixed it also to download sources with real wget by since sources are on https host. So now elfutils can download its sources just fine.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Oct 22 22:36:22 2010 +0000 (2010-10-22)
parents 8752c40cc534
children 4458dff0ca4c
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 DEPENDS="glibc-base libusb libusb-compat gcc-lib-base"
9 BUILD_DEPENDS="slitaz-toolchain libusb-dev libusb"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.intra2net.com/en/developer/libftdi/"
12 WGET_URL="http://www.intra2net.com/en/developer/libftdi/download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$src/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 }