void-packages/srcpkgs/ORBit2/ORBit2-devel.template
Juan RP 8126c9686b ORBit2: sanitize deps.
--HG--
extra : convert_revision : e8ffc9ca7980aee10f7cd1902ebd84d4be69e8ca
2010-02-28 06:19:39 +01:00

26 lines
773 B
Text

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