wok annotate openobex/receipt @ rev 22408
Add knot-dns (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 10 17:03:15 2019 +0100 (2019-12-10) |
parents | 8dd8bab3f0ca |
children | dc0f7fd1ff7d |
rev | line source |
---|---|
pascal@19879 | 1 # SliTaz package receipt. |
pascal@19879 | 2 |
pascal@19879 | 3 PACKAGE="openobex" |
Hans-G?nter@21635 | 4 VERSION="1.7.2" |
pascal@19879 | 5 CATEGORY="network" |
Hans-G?nter@21635 | 6 TAGS="bluetooth" |
pascal@19879 | 7 SHORT_DESC="Object Exchange (OBEX) protocol." |
pascal@19879 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19879 | 9 LICENSE="GPL2" |
pascal@20672 | 10 WEB_SITE="https://gitlab.com/openobex/mainline" |
Hans-G?nter@21635 | 11 |
pascal@19879 | 12 TARBALL="$PACKAGE-$VERSION-Source.tar.gz" |
pascal@19879 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" |
pascal@19879 | 14 |
Hans-G?nter@21635 | 15 DEPENDS="bluez libusb" |
Hans-G?nter@21635 | 16 BUILD_DEPENDS="bluez-dev cmake libusb-dev" |
pascal@19879 | 17 |
pascal@19879 | 18 # Rules to configure and make the package. |
pascal@19879 | 19 compile_rules() |
pascal@19879 | 20 { |
pascal@19879 | 21 mkdir build |
pascal@19879 | 22 cd build |
Hans-G?nter@21635 | 23 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
Hans-G?nter@21635 | 24 make && |
Hans-G?nter@21635 | 25 make openobex-apps && |
pascal@19879 | 26 make DESTDIR=$DESTDIR install |
pascal@19879 | 27 } |
pascal@19879 | 28 |
pascal@19879 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19879 | 30 genpkg_rules() |
pascal@19879 | 31 { |
pascal@19879 | 32 mkdir -p $fs/usr/lib |
Hans-G?nter@21635 | 33 |
Hans-G?nter@21635 | 34 cp -a $install/lib $fs |
Hans-G?nter@21635 | 35 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21635 | 36 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@21635 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@19879 | 38 } |