embb: fix cmake, shared libs location

This commit is contained in:
Đoàn Trần Công Danh 2021-04-12 08:18:37 +07:00
parent 8b1646e4bf
commit 316eb464ab
2 changed files with 12 additions and 9 deletions

View file

@ -3153,11 +3153,11 @@ libGammu.so.8 gammu-1.39.0_1
libz3.so z3-4.6.0_2
libngspice.so.0 ngspice-27_2
libvulkan.so.1 vulkan-loader-1.0.57.0_1
libembb_mtapi_cpp.so embb-devel-1.0.0_1
libembb_mtapi_c.so embb-devel-1.0.0_1
libembb_mtapi_network_c.so embb-devel-1.0.0_1
libembb_base_cpp.so embb-devel-1.0.0_1
libembb_base_c.so embb-devel-1.0.0_1
libembb_mtapi_cpp.so embb-1.0.0_3
libembb_mtapi_c.so embb-1.0.0_3
libembb_mtapi_network_c.so embb-1.0.0_3
libembb_base_cpp.so embb-1.0.0_3
libembb_base_c.so embb-1.0.0_3
libhpdf-2.3.0.so Haru-2.3.0_3
libKF5Contacts.so.5 kcontacts-5.63.0_1
libKF5AkonadiPrivate.so.5 akonadi5-17.12.0_1

View file

@ -1,9 +1,10 @@
# Template file for 'embb'
pkgname=embb
version=1.0.0
revision=2
revision=3
build_style=cmake
configure_args="-DUSE_C11_AND_CXX11=ON -DBUILD_SHARED_LIBS=ON -DBUILD_TESTS=OFF -DINSTALL_PREFIX=/usr"
configure_args="-DUSE_C11_AND_CXX11=ON -DBUILD_SHARED_LIBS=ON
-DBUILD_TESTS=OFF -DINSTALL_PREFIX=/usr"
short_desc="Library for parallel programming of embedded systems"
maintainer="Florian Eich <flrn@nrmncr.net>"
license="BSD-2-Clause"
@ -13,6 +14,8 @@ checksum=a392c710df719bbb1513dd9a6835ab9d73494d7355a47f17e818179fea64dcc8
post_install() {
vlicense COPYING.md
vmkdir usr/lib/cmake
mv ${DESTDIR}/usr/CMake/* ${DESTDIR}/usr/lib/cmake
}
embb-devel_package() {
@ -20,8 +23,8 @@ embb-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/cmake
vmove "usr/lib/*.a"
}
}