wok-current diff libftdi/receipt @ rev 4737
knock/knockd-helper: add help
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 07 12:40:20 2010 +0100 (2010-01-07) |
parents | |
children | 8752c40cc534 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libftdi/receipt Thu Jan 07 12:40:20 2010 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libftdi" 1.7 +VERSION="0.16" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="A library to talk to FTDI chips using libusb." 1.10 +MAINTAINER="rcx@zoominternet.net" 1.11 +DEPENDS="glibc-base libusb libusb-compat" 1.12 +BUILD_DEPENDS="slitaz-toolchain libusb-dev libusb" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://www.intra2net.com/en/developer/libftdi/" 1.15 +WGET_URL="http://www.intra2net.com/en/developer/libftdi/download/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure \ 1.22 + --prefix=/usr \ 1.23 + $CONFIGURE_ARGS && 1.24 + make && 1.25 + make DESTDIR=$src/_pkg install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr/lib 1.32 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.33 + cp -a $_pkg/usr/bin $fs/usr 1.34 +}