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

31 lines
804 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."
2010-12-17 15:53:15 +00:00
revision=2
2010-12-17 15:53:15 +00:00
Add_dependency run glibc
Add_dependency run glib
Add_dependency run libIDL
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
}