wok-next annotate libftdi/receipt @ rev 19926

libftdi: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 14 23:39:37 2017 +0200 (2017-10-14)
parents 10865ec1261c
children 8940878905f3
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@15473 8 LICENSE="BSD GPL2 LGPL2"
rcx@3715 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
rcx@3715 10 WEB_SITE="http://www.intra2net.com/en/developer/libftdi/"
rcx@3715 11 WGET_URL="http://www.intra2net.com/en/developer/libftdi/download/$TARBALL"
rcx@3715 12
pascal@15473 13 DEPENDS="glibc-base libusb libusb-compat gcc-lib-base"
pascal@19926 14 BUILD_DEPENDS="slitaz-toolchain libusb-dev libusb libusb-compat-dev udev-dev"
pascal@15473 15
rcx@3715 16 # Rules to configure and make the package.
rcx@3715 17 compile_rules()
rcx@3715 18 {
rcx@3715 19 ./configure \
rcx@3715 20 --prefix=/usr \
rcx@3715 21 $CONFIGURE_ARGS &&
rcx@3715 22 make &&
pascal@11821 23 make DESTDIR=$DESTDIR install
rcx@3715 24 }
rcx@3715 25
rcx@3715 26 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3715 27 genpkg_rules()
rcx@3715 28 {
rcx@3715 29 mkdir -p $fs/usr/lib
pascal@15473 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15473 31 cp -a $install/usr/bin $fs/usr
rcx@3715 32 }