wok-next annotate openobex/receipt @ rev 21370

updated minidlna (1.1.4 -> 1.2.1)
author Hans-G?nter Theisgen
date Thu Apr 16 09:58:07 2020 +0100 (2020-04-16)
parents f48456621a9d
children
rev   line source
al@20657 1 # SliTaz package receipt v2.
al@20657 2
al@20657 3 PACKAGE="openobex"
al@20657 4 VERSION="1.7.2"
al@20657 5 CATEGORY="libs"
al@21020 6 SHORT_DESC="Opensource library for the OBject EXchange protocol"
al@20657 7 MAINTAINER="al.bobylev@gmail.com"
al@20657 8 LICENSE="LGPL2"
al@20657 9 WEB_SITE="https://gitlab.com/openobex/mainline"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/openobex.html"
al@20657 11
al@20657 12 TARBALL="openobex-$VERSION-Source.tar.gz"
al@20657 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@20657 14
al@20657 15 BUILD_DEPENDS="cmake bluez-dev libusb-dev libusb-compat-dev"
al@21020 16 SPLIT="$PACKAGE-dev"
al@20657 17
al@20657 18 compile_rules() {
al@20657 19 # group plugdev (83) provided by slitaz-base-files
al@20657 20
al@20657 21 mkdir build
al@20657 22 cd build
al@20657 23
al@20657 24 cmake \
al@20657 25 -DCMAKE_INSTALL_PREFIX=/usr \
al@20657 26 -DCMAKE_INSTALL_LIBDIR=/usr/lib \
al@20657 27 -DCMAKE_BUILD_TYPE=Release \
al@20657 28 -Wno-dev \
al@20657 29 .. &&
al@20657 30 make &&
al@20657 31 make install
al@20657 32 }
al@20657 33
al@20657 34 genpkg_rules() {
al@20657 35 case $PACKAGE in
al@20657 36 openobex)
al@20657 37 copy @std
al@20657 38 DEPENDS="libusb"
al@20657 39 ;;
al@20657 40 *-dev)
al@20657 41 copy @dev
al@20657 42 DEPENDS="openobex libusb-dev"
al@20657 43 ;;
al@20657 44 esac
al@20657 45 }