mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
Since eudev now reports /usr/lib/udev as the standard udev location with "pkgconf udev --variable=udevdir", we should rebuild these packages to let them pick up this new location
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=openobex
|
|
pkgver=1.7.2
|
|
pkgrel=6
|
|
pkgdesc="Implementation of the OBject EXchange (OBEX) protocol"
|
|
url="http://dev.zuckschwerdt.org/openobex/"
|
|
arch="all"
|
|
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
|
|
depends_dev="libusb-dev"
|
|
makedepends="$depends_dev bluez-dev cmake eudev-dev libxml2-utils docbook-xsl samurai"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-apps"
|
|
source="https://downloads.sourceforge.net/project/openobex/openobex/$pkgver/openobex-$pkgver-Source.tar.gz"
|
|
builddir="$srcdir"/openobex-$pkgver-Source
|
|
options="!check"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
|
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
|
-DCMAKE_SKIP_RPATH=ON
|
|
cmake --build build --target all openobex-apps
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
apps() {
|
|
pkgdesc="Applications for using OBEX"
|
|
|
|
amove usr/bin
|
|
}
|
|
|
|
sha512sums="
|
|
22f1b0d99e7186da9fa12b510ef9dbb6f7d76777d58b235ab2f627703d07b6f6b0488cdc9c6d8c0ab7bc86d6d19117c55fff9273fed02736c0210f9b1788bf4d openobex-1.7.2-Source.tar.gz
|
|
"
|