New package: p8-platform-2.0.1
This commit is contained in:
parent
7928bd1462
commit
64064ca946
|
@ -2128,6 +2128,7 @@ libembree.so.2 embree-2.5.1_1
|
||||||
libgtkimageview.so.0 gtkimageview-1.6.4_1
|
libgtkimageview.so.0 gtkimageview-1.6.4_1
|
||||||
libgoocanvas.so.3 goocanvas1-1.0.0_1
|
libgoocanvas.so.3 goocanvas1-1.0.0_1
|
||||||
libplatform.so.2.0 platform-2.0.1_1
|
libplatform.so.2.0 platform-2.0.1_1
|
||||||
|
libp8-platform.so.2.0 p8-platform-2.0.1_1
|
||||||
libfacter.so.3.0.2 facter-3.0.2_1
|
libfacter.so.3.0.2 facter-3.0.2_1
|
||||||
libOIS-1.3.0.so ois-1.3_1
|
libOIS-1.3.0.so ois-1.3_1
|
||||||
libSILLY.so.1 silly-0.1.0_1
|
libSILLY.so.1 silly-0.1.0_1
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
p8-platform
|
|
@ -0,0 +1,34 @@
|
||||||
|
# Template file for 'p8-platform'
|
||||||
|
pkgname=p8-platform
|
||||||
|
version=2.0.1
|
||||||
|
revision=1
|
||||||
|
build_style=cmake
|
||||||
|
hostmakedepends="cmake"
|
||||||
|
short_desc="Platform support library used by libCEC (Pulse Eight Edition)"
|
||||||
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="https://github.com/Pulse-Eight/platform"
|
||||||
|
distfiles="https://github.com/Pulse-Eight/platform/archive/p8-platform-$version.tar.gz"
|
||||||
|
checksum=e97e45273e90571aa37732cde913b262f5f519c387083645d2557d7189c054cf
|
||||||
|
configure_args+=" -DBUILD_SHARED_LIBS=1"
|
||||||
|
wrksrc=platform-$pkgname-$version
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vmkdir usr/lib
|
||||||
|
if [ -d $DESTDIR/usr/lib64 ]; then
|
||||||
|
mv $DESTDIR/usr/lib64/* $DESTDIR/usr/lib
|
||||||
|
fi
|
||||||
|
sed -i "s#$wrksrc/build/##" $DESTDIR/usr/lib/p8-platform/p8-platform-config.cmake $DESTDIR/usr/lib/pkgconfig/p8-platform.pc
|
||||||
|
mv $DESTDIR/$wrksrc/build/lib*/* $DESTDIR/usr/lib
|
||||||
|
}
|
||||||
|
|
||||||
|
p8-platform-devel_package() {
|
||||||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
short_desc+=" - development files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove usr/lib/p8-platform
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue