void-packages/templates/ORBit2/devel.template

24 lines
681 B
Text
Raw Normal View History

# 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 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
}