wok annotate libftdi/receipt @ rev 11821
libftdi: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 26 11:46:31 2012 +0100 (2012-02-26) |
parents | 2d2120dbd664 |
children | 8f447cf2eee5 |
rev | line source |
---|---|
rcx@3715 | 1 # SliTaz package receipt. |
rcx@3715 | 2 |
rcx@3715 | 3 PACKAGE="libftdi" |
rcx@6009 | 4 VERSION="0.18" |
rcx@3715 | 5 CATEGORY="system-tools" |
rcx@3715 | 6 SHORT_DESC="A library to talk to FTDI chips using libusb." |
rcx@3715 | 7 MAINTAINER="rcx@zoominternet.net" |
pascal@5003 | 8 DEPENDS="glibc-base libusb libusb-compat gcc-lib-base" |
pascal@11821 | 9 BUILD_DEPENDS="slitaz-toolchain libusb-dev libusb libusb-compat" |
rcx@3715 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
rcx@3715 | 11 WEB_SITE="http://www.intra2net.com/en/developer/libftdi/" |
rcx@3715 | 12 WGET_URL="http://www.intra2net.com/en/developer/libftdi/download/$TARBALL" |
rcx@3715 | 13 |
rcx@3715 | 14 # Rules to configure and make the package. |
rcx@3715 | 15 compile_rules() |
rcx@3715 | 16 { |
rcx@3715 | 17 cd $src |
rcx@3715 | 18 ./configure \ |
rcx@3715 | 19 --prefix=/usr \ |
rcx@3715 | 20 $CONFIGURE_ARGS && |
rcx@3715 | 21 make && |
pascal@11821 | 22 make DESTDIR=$DESTDIR install |
rcx@3715 | 23 } |
rcx@3715 | 24 |
rcx@3715 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3715 | 26 genpkg_rules() |
rcx@3715 | 27 { |
rcx@3715 | 28 mkdir -p $fs/usr/lib |
rcx@3715 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
rcx@3715 | 30 cp -a $_pkg/usr/bin $fs/usr |
rcx@3715 | 31 } |