diff --git a/common/shlibs b/common/shlibs index 1e2f804684..c305b313cd 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2977,6 +2977,7 @@ libmega.so.30208 MEGAsdk-3.2.8_1 libopenglrecorder.so.0 libopenglrecorder-0.1.0_1 libgpod.so.4 libgpod-0.8.3_1 libi2c.so.0 i2c-tools-4.0_1 +libmarisa.so.0 marisa-0.2.5_1 libairspy.so.0 libairspy-1.0.9_1 libKF5KDcraw.so.5 libkdcraw5-17.04.3_1 libKF5Kipi.so.32.0.0 libkipi5-17.04.3_1 diff --git a/srcpkgs/marisa-devel b/srcpkgs/marisa-devel new file mode 120000 index 0000000000..4ebb55bc8b --- /dev/null +++ b/srcpkgs/marisa-devel @@ -0,0 +1 @@ +marisa \ No newline at end of file diff --git a/srcpkgs/marisa/template b/srcpkgs/marisa/template new file mode 100644 index 0000000000..bb4f9b9fe6 --- /dev/null +++ b/srcpkgs/marisa/template @@ -0,0 +1,42 @@ +# Template file for 'marisa' +pkgname=marisa +version=0.2.5.20170406 +revision=1 +_gitrev="59e410597981475bae94d9d9eb252c1d9790dc2f" +wrksrc="${pkgname}-trie-${_gitrev}" +build_style=gnu-configure +hostmakedepends="autoconf automake libtool" +short_desc="Matching Algorithm with Recursively Implemented StorAge" +maintainer="Yuxuan Shui " +license="2-clause-BSD, LGPL-2.1" +homepage="https://github.com/s-yata/marisa-trie" +distfiles="https://github.com/s-yata/marisa-trie/archive/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz" +checksum="e6a08b8f78baa476e5564c01c3700e9eedb36e5c70e4ec3cd21649d7026da00e" + +case "$XBPS_TARGET_MACHINE" in + x86_64*) configure_args+=" --enable-popcnt --enable-sse2";; +esac + +pre_configure() { + autoreconf -fi +} + +post_configure() { + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool +} + +post_install() { + vlicense COPYING.md +} + +marisa-devel_package() { + depends="marisa-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +}