# SliTaz package receipt. PACKAGE="libftdi" VERSION="0.18" CATEGORY="system-tools" SHORT_DESC="A library to talk to FTDI chips using libusb." MAINTAINER="rcx@zoominternet.net" DEPENDS="glibc-base libusb libusb-compat gcc-lib-base" BUILD_DEPENDS="slitaz-toolchain libusb-dev libusb libusb-compat" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.intra2net.com/en/developer/libftdi/" WGET_URL="http://www.intra2net.com/en/developer/libftdi/download/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $_pkg/usr/lib/*.so* $fs/usr/lib cp -a $_pkg/usr/bin $fs/usr }