wok diff uhd/receipt @ rev 19598

Up: libcrypto (1.0.2j)
author Alexander Medvedev <devl547@gmail.com>
date Sun Jan 01 18:08:49 2017 +0000 (2017-01-01)
parents
children b0072f522c17
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/uhd/receipt	Sun Jan 01 18:08:49 2017 +0000
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="uhd"
     1.7 +VERSION="release_003_009_003"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="The USRP(tm) Hardware Driver."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="https://github.com/EttusResearch/uhd"
    1.14 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
    1.15 +
    1.16 +DEPENDS="libboost-date-time libboost-filesystem libboost-program-options \
    1.17 +libboost-regex libboost-system libboost-test libboost-serialization \
    1.18 +libboost_thread libboost-tr1 udev python"
    1.19 +BUILD_DEPENDS="wget cmake python python-mako libboost-date-time-dev \
    1.20 +libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev \
    1.21 +libboost-system-dev libboost-test-dev libboost-serialization-dev \
    1.22 +libboost-thread-dev libboost-tr1-dev libusb-dev udev-dev"
    1.23 +
    1.24 +# Rules to configure and make the package.
    1.25 +compile_rules()
    1.26 +{
    1.27 +	cd $src/host
    1.28 +	mkdir build
    1.29 +	cd build
    1.30 +	cmake .. -DENABLE_MANUAL=OFF -DENABLE_DOXYGEN=OFF \
    1.31 +		-DENABLE_MAN_PAGES=OFF -DENABLE_B200=ON -DENABLE_USB=ON \
    1.32 +		-DCMAKE_INSTALL_PREFIX=/usr
    1.33 +	make && make DESTDIR=$DESTDIR install
    1.34 +}
    1.35 +
    1.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 +genpkg_rules()
    1.38 +{
    1.39 +	mkdir -p $fs/usr/lib
    1.40 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.41 +	cp -a $install/usr/lib/uhd $fs/usr/lib
    1.42 +	cp -a $install/usr/bin $fs/usr
    1.43 +	cp -a $install/usr/share $fs/usr
    1.44 +}