mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 09:17:14 +08:00
35 lines
819 B
Bash
35 lines
819 B
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas[at]chakra-project[dot]org>
|
|
|
|
pkgname=libevent
|
|
pkgver=2.0.21
|
|
pkgrel=1
|
|
pkgdesc="An event notification library"
|
|
license=('GPL2')
|
|
arch=('x86_64')
|
|
url="http://www.monkey.org/~provos/libevent/"
|
|
depends=('openssl')
|
|
source=(https://github.com/downloads/${pkgname}/${pkgname}/${pkgname}-$pkgver-stable.tar.gz{,.asc})
|
|
md5sums=('b2405cc9ebf264aa47ff615d9de527a2'
|
|
'31ffa4efc611c452697bd120a3bf8f9e')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}-stable"
|
|
sed -i 's#python#python2#' event_rpcgen.py
|
|
./configure --prefix=/usr --sysconfdir=/etc
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}-stable"
|
|
make check || true
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}-stable"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|