mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: libevent
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
name=libevent
|
||||||
|
revision=1
|
||||||
|
from_source=libevent
|
||||||
|
imagedeps="base-devel"
|
||||||
|
hostdeps="xgcc xbinutils"
|
||||||
|
deps="mlibc"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
${source_dir}/configure --host=x86_64-astral --prefix=${prefix} --disable-static --enable-shared --disable-openssl
|
||||||
|
make -j${parallelism}
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make install DESTDIR="${dest_dir}"
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
name=libevent
|
||||||
|
version=2.1.12
|
||||||
|
source_method=tarball
|
||||||
|
tarball_url="https://github.com/libevent/libevent/releases/download/release-${version}-stable/libevent-${version}-stable.tar.gz"
|
||||||
|
tarball_sha512=88d8944cd75cbe78bc4e56a6741ca67c017a3686d5349100f1c74f8a68ac0b6410ce64dff160be4a4ba0696ee29540dfed59aaf3c9a02f0c164b00307fcfe84f
|
||||||
|
hostdeps="autoconf automake pkgconfig libtool"
|
||||||
|
|
||||||
|
regenerate() {
|
||||||
|
autoreconf -fvi
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user