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

28 lines
729 B
Plaintext
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."
revision=1
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/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
}