wok-current view libftdi/receipt @ rev 18600
Up cookutils(775)
| author | Aleksej Bobylev <al.bobylev@gmail.com> | 
|---|---|
| date | Mon Nov 16 01:25:36 2015 +0200 (2015-11-16) | 
| 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 }