void-packages/srcpkgs/ORBit2/ORBit2-devel.template

27 lines
773 B
Plaintext

# Template file for 'ORBit2-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run pkg-config
Add_dependency run glib-devel
Add_dependency run libIDL-devel
Add_dependency run ORBit2
do_install()
{
local lver="2.0"
mkdir -p ${DESTDIR}/usr/lib/orbit-${lver}
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/orbit-${lver}/*.*a \
${DESTDIR}/usr/lib/orbit-${lver}
mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
}