From 336a00a24187883fd6c2d2bcd5c174c4d9948426 Mon Sep 17 00:00:00 2001 From: tyBrave Date: Thu, 15 Jun 2023 15:25:40 +0800 Subject: [PATCH] update diff-match-patch-cpp-stl HPKBUILD Signed-off-by: tyBrave --- thirdparty/diff-match-patch-cpp-stl/HPKBUILD | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/thirdparty/diff-match-patch-cpp-stl/HPKBUILD b/thirdparty/diff-match-patch-cpp-stl/HPKBUILD index cadbabda..a161428a 100644 --- a/thirdparty/diff-match-patch-cpp-stl/HPKBUILD +++ b/thirdparty/diff-match-patch-cpp-stl/HPKBUILD @@ -33,9 +33,16 @@ build() { } package() { - cd $builddir/ - make -C $ARCH-build install >> `pwd`/$ARCH-build/build.log 2>&1 - cd $OLDPWD + install_dir=${LYCIUM_ROOT}/usr/${pkgname}/${ARCH} + mkdir -p ${install_dir}/bin + mkdir -p ${install_dir}/include + cd ${builddir}/$ARCH-build/ + cp -af ../diff_match_patch.h ${install_dir}/include + cp -af diff_match_patch_test_string ${install_dir}/bin + cp -af diff_match_patch_test_wstring ${install_dir}/bin + cd ${OLDPWD} + + return 0 } check() { -- Gitee