ADDED pkgs/dact Index: pkgs/dact ================================================================== --- /dev/null +++ pkgs/dact @@ -0,0 +1,21 @@ +#! /usr/bin/env bash + +version='0.8.42' +url="http://www.rkeene.org/devel/dact-${version}.tar.gz" +sha256='08c91d36b2de30c4f2e9e13a7b044c137c096db2ba8d868d1962e209dd6b2ed8' +domain='rkeene.org' +require=(zlib@core.appfs.rkeene.org bzip2@core.appfs.rkeene.org) + +function preconfigure() { + sed -i -r 's/^(prefix|libdir|sysconfdir) *= */&$(DESTDIR)/g' Makefile.in + sed -i '/^ALGO *=/ a \ +MODS = $(ALGO:.c=.so)' Makefile.in +} + +function postinstall() { + # Delete incomplete "libdact" + rm -f "${destdir}/${prefix}"/lib/libdact* + rmdir "${destdir}/${prefix}/lib" >/dev/null 2>/dev/null + + return 0 +} ADDED pkgs/filed Index: pkgs/filed ================================================================== --- /dev/null +++ pkgs/filed @@ -0,0 +1,17 @@ +#! /usr/bin/env bash + +version='1.12' +url="http://filed.rkeene.org/fossil/tarball/filed-${version}.tar.gz?uuid=${version}" +sha256='807931f6c8ab4c90e26f5221e89558a84b31d4b4ce60c8c2cccb09350e25de85' + +function configure() { + configure_gcc +} + +function build() { + make prefix="${prefix}" CC="${CC} ${CFLAGS}" LDFLAGS="-pthread ${LDFLAGS}" +} + +function install() { + make install prefix="${prefix}" DESTDIR="${destdir}" +}