parent
c32f36bbc3
commit
6369d742cf
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'glm'
|
# Template file for 'glm'
|
||||||
pkgname=glm
|
pkgname=glm
|
||||||
version=0.9.9.8
|
version=0.9.9.8
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="dos2unix unzip"
|
hostmakedepends="dos2unix unzip"
|
||||||
short_desc="C++ mathematics library for graphics programming"
|
short_desc="C++ mathematics library for graphics programming"
|
||||||
|
@ -16,9 +16,9 @@ checksum=37e2a3d62ea3322e43593c34bae29f57e3e251ea89f4067506c94043769ade4c
|
||||||
do_install() {
|
do_install() {
|
||||||
local i
|
local i
|
||||||
vmkdir usr/include
|
vmkdir usr/include
|
||||||
for i in glm ; do
|
vcopy glm usr/include
|
||||||
vcopy $i usr/include
|
vmkdir usr/lib/cmake
|
||||||
done
|
vcopy cmake/glm usr/lib/cmake
|
||||||
vmkdir usr/share/pkgconfig
|
vmkdir usr/share/pkgconfig
|
||||||
vinstall ${FILESDIR}/glm.pc 644 usr/share/pkgconfig
|
vinstall ${FILESDIR}/glm.pc 644 usr/share/pkgconfig
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,6 @@ post_install() {
|
||||||
for f in $(find ${DESTDIR}/usr/include -type f); do
|
for f in $(find ${DESTDIR}/usr/include -type f); do
|
||||||
dos2unix "$f"
|
dos2unix "$f"
|
||||||
done
|
done
|
||||||
rm -f "${DESTDIR}/usr/include/CMakeLists.txt"
|
rm "${DESTDIR}/usr/include/glm/CMakeLists.txt"
|
||||||
sed -n '88,110p' manual.md > LICENSE
|
vlicense copying.txt LICENSE
|
||||||
vlicense LICENSE
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue