diff --git a/steps-guix/avahi-0.8/pass1.sh b/steps-guix/avahi-0.8/pass1.sh index 5152d724..98cfc4e9 100644 --- a/steps-guix/avahi-0.8/pass1.sh +++ b/steps-guix/avahi-0.8/pass1.sh @@ -16,8 +16,11 @@ src_configure() { --includedir="${PREFIX}/include" \ --host="${host_triplet}" \ --build="${host_triplet}" \ + --with-distro=lfs \ --enable-static \ --enable-shared \ + --disable-glib \ + --disable-gobject \ --disable-gtk \ --disable-gtk3 \ --disable-qt3 \ diff --git a/steps-guix/libevent-2.1.12/pass1.sh b/steps-guix/libevent-2.1.12/pass1.sh new file mode 100644 index 00000000..d6155146 --- /dev/null +++ b/steps-guix/libevent-2.1.12/pass1.sh @@ -0,0 +1,29 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +src_prepare() { + default +} + +src_configure() { + local host_triplet + host_triplet="$(gcc -dumpmachine)" + + PATH="${PREFIX}/bin:/usr/bin:/bin" \ + PKG_CONFIG_PATH="${LIBDIR}/pkgconfig:${PREFIX}/lib/pkgconfig" \ + ./configure \ + --prefix="${PREFIX}" \ + --libdir="${LIBDIR}" \ + --includedir="${PREFIX}/include" \ + --host="${host_triplet}" \ + --build="${host_triplet}" \ + --enable-static \ + --enable-shared +} + +src_compile() { + default_src_compile +} + +src_install() { + default_src_install +} diff --git a/steps-guix/libevent-2.1.12/sources b/steps-guix/libevent-2.1.12/sources new file mode 100644 index 00000000..94b0af9a --- /dev/null +++ b/steps-guix/libevent-2.1.12/sources @@ -0,0 +1 @@ +f https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz 92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb libevent-2.1.12-stable.tar.gz diff --git a/steps-guix/manifest b/steps-guix/manifest index e221f19a..bc1e1880 100644 --- a/steps-guix/manifest +++ b/steps-guix/manifest @@ -29,6 +29,7 @@ build: guile-sqlite3-0.1.3 build: guile-zlib-0.2.2 build: guile-lzlib-0.0.2 build: scheme-bytestructures-2.0.2 +build: libevent-2.1.12 build: avahi-0.8 build: guile-avahi-0.4.1 build: guile-git-0.10.0