oce: fix install scripts for new prefixes
This commit is contained in:
parent
24513d9f61
commit
6b51a2c906
@ -4,7 +4,7 @@ _realname=oce
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname=${MINGW_PACKAGE_PREFIX}-${_realname}
|
||||
pkgver=0.18.3
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Open CASCADE Community Edition: patches/improvements/experiments contributed by users over the official Open CASCADE library."
|
||||
url="https://github.com/tpaviot/oce"
|
||||
arch=('any')
|
||||
@ -16,7 +16,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-freetype")
|
||||
#depends=('intel-tbb' 'gl2ps' 'freeimage' 'tk')
|
||||
source=(https://github.com/tpaviot/${_realname}/archive/OCE-${pkgver}.tar.gz unicode.patch)
|
||||
# 99_oce.sh 99_oce.conf)
|
||||
install=oce-${CARCH}.install
|
||||
install=oce-${MSYSTEM}.install
|
||||
sha256sums=('c553d6a7bf52f790abc3b6bb7a1e91a65947e92a426bb1a88a11960c31f0966c'
|
||||
'bff7743d03258a532578c642a8140a0583fcff3bd05cc0a81a8bef00f2629c83')
|
||||
|
||||
|
||||
12
mingw-w64-oce/oce-CLANG64.install
Normal file
12
mingw-w64-oce/oce-CLANG64.install
Normal file
@ -0,0 +1,12 @@
|
||||
post_install() {
|
||||
_mingw=clang64
|
||||
cd ${_mingw}
|
||||
local _prefix=$(pwd -W)
|
||||
cd -
|
||||
sed -e "s|/${_mingw}|${_prefix}|g" -i ${_mingw}/lib/oce/OCE-libraries.cmake
|
||||
sed -e 's|;[A-Z]:\/[^ ;]*\?\/'${_mingw}'|;${_IMPORT_PREFIX}|g' -i ${_mingw}/lib/oce/OCE-libraries-release.cmake
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
@ -4,7 +4,7 @@ post_install() {
|
||||
local _prefix=$(pwd -W)
|
||||
cd -
|
||||
sed -e "s|/${_mingw}|${_prefix}|g" -i ${_mingw}/lib/oce/OCE-libraries.cmake
|
||||
sed -e 's|;[A-Z]:\/[^ ;]*\?\/mingw32|;${_IMPORT_PREFIX}|g' -i ${_mingw}/lib/oce/OCE-libraries-release.cmake
|
||||
sed -e 's|;[A-Z]:\/[^ ;]*\?\/'${_mingw}'|;${_IMPORT_PREFIX}|g' -i ${_mingw}/lib/oce/OCE-libraries-release.cmake
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
@ -4,7 +4,7 @@ post_install() {
|
||||
local _prefix=$(pwd -W)
|
||||
cd -
|
||||
sed -e "s|/${_mingw}|${_prefix}|g" -i ${_mingw}/lib/oce/OCE-libraries.cmake
|
||||
sed -e 's|;[A-Z]:\/[^ ;]*\?\/mingw64|;${_IMPORT_PREFIX}|g' -i ${_mingw}/lib/oce/OCE-libraries-release.cmake
|
||||
sed -e 's|;[A-Z]:\/[^ ;]*\?\/'${_mingw}'|;${_IMPORT_PREFIX}|g' -i ${_mingw}/lib/oce/OCE-libraries-release.cmake
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
12
mingw-w64-oce/oce-UCRT64.install
Normal file
12
mingw-w64-oce/oce-UCRT64.install
Normal file
@ -0,0 +1,12 @@
|
||||
post_install() {
|
||||
_mingw=ucrt64
|
||||
cd ${_mingw}
|
||||
local _prefix=$(pwd -W)
|
||||
cd -
|
||||
sed -e "s|/${_mingw}|${_prefix}|g" -i ${_mingw}/lib/oce/OCE-libraries.cmake
|
||||
sed -e 's|;[A-Z]:\/[^ ;]*\?\/'${_mingw}'|;${_IMPORT_PREFIX}|g' -i ${_mingw}/lib/oce/OCE-libraries-release.cmake
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user