assimp: fix include dir in pc file

This commit is contained in:
Tim Biermann 2021-10-03 20:20:42 +02:00
parent 477ec75e49
commit e18bd55a18
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3zn19RKVX4V2VTbPvQHSW73Hghiftl7Wxc1t4nyad2uvwrYFV1WFwciEXhuWxaXkXZbeG+hVSTnTHzn6I4gaqwU=
SHA256 (Pkgfile) = 3f58b65d4bb0d174147d0380714350a2a41ca2b3491cb72b9fa0c23a6e58159c
RWSagIOpLGJF34vc3NqGNgvu6l8eaDZo6uswLMBeY1YkuXxon0FuAGkJt1a/NYa6zRTb2xws4em6SDm3ilcNhowmkOJHgeRoEgM=
SHA256 (Pkgfile) = b744697a959742ca7d6d6c184d057945c347c54bd6b404a7b3f59ec6bbd485cd
SHA256 (.footprint) = 006eb35ba7faf1ce46e788bb5a0bbad23c946882605be017713b918aff8d875b
SHA256 (assimp-5.0.1.tar.gz) = 11310ec1f2ad2cd46b95ba88faca8f7aaa1efe9aa12605c55e3de2b977b3dbfc

View File

@ -1,11 +1,11 @@
# Description: Library to import various well-known 3D model formats in an uniform manner
# URL: http://assimp.sourceforge.net/index.html
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: boost cmake
# Depends on: cmake
name=assimp
version=5.0.1
release=1
release=2
source=(https://github.com/assimp/assimp/archive/v$version/$name-$version.tar.gz)
build() {
@ -19,4 +19,6 @@ build() {
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
sed -i "s|includedir=.*|includedir=/usr/include/assimp|" ${PKG}/usr/lib/pkgconfig/assimp.pc
}