mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-13 22:04:37 +02:00
47 lines
997 B
Text
47 lines
997 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=tevent
|
|
pkgver=0.16.1
|
|
pkgrel=0
|
|
pkgdesc="The tevent library"
|
|
url="https://tevent.samba.org/"
|
|
arch="all"
|
|
license="LGPL-3.0-or-later"
|
|
makedepends="libtirpc-dev python3-dev talloc-dev cmocka-dev"
|
|
replaces="samba"
|
|
subpackages="$pkgname-dev py3-$pkgname:_py3"
|
|
source="https://samba.org/ftp/tevent/tevent-$pkgver.tar.gz
|
|
"
|
|
|
|
build() {
|
|
CFLAGS="$CFLAGS -flto=auto" \
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var \
|
|
--disable-rpath \
|
|
--bundled-libraries=NONE \
|
|
--without-gettext
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
_py3() {
|
|
pkgdesc="Python 3 binding for the tevent library"
|
|
|
|
amove usr/lib/python3*
|
|
}
|
|
|
|
sha512sums="
|
|
cda001d91728b2f28dd081e9c5f6d8ede345dcd9ce1dca04394860cd83090c15aa8dfef1c53b73e120bd17f0d95551fa9301eb4927963314556d016fe5420a39 tevent-0.16.1.tar.gz
|
|
"
|