New package: marisa-0.2.5
This commit is contained in:
parent
55f23dd63c
commit
073bb3fc8d
3 changed files with 44 additions and 0 deletions
|
@ -2977,6 +2977,7 @@ libmega.so.30208 MEGAsdk-3.2.8_1
|
||||||
libopenglrecorder.so.0 libopenglrecorder-0.1.0_1
|
libopenglrecorder.so.0 libopenglrecorder-0.1.0_1
|
||||||
libgpod.so.4 libgpod-0.8.3_1
|
libgpod.so.4 libgpod-0.8.3_1
|
||||||
libi2c.so.0 i2c-tools-4.0_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
|
libairspy.so.0 libairspy-1.0.9_1
|
||||||
libKF5KDcraw.so.5 libkdcraw5-17.04.3_1
|
libKF5KDcraw.so.5 libkdcraw5-17.04.3_1
|
||||||
libKF5Kipi.so.32.0.0 libkipi5-17.04.3_1
|
libKF5Kipi.so.32.0.0 libkipi5-17.04.3_1
|
||||||
|
|
1
srcpkgs/marisa-devel
Symbolic link
1
srcpkgs/marisa-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
marisa
|
42
srcpkgs/marisa/template
Normal file
42
srcpkgs/marisa/template
Normal file
|
@ -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 <yshuiv7@gmail.com>"
|
||||||
|
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"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue