void-packages/srcpkgs/libgphoto2/libgphoto2-devel.template
Juan RP c49c56ba2a Added libgphoto2-2.4.9 build template.
--HG--
extra : convert_revision : 18d1dee311b61ec3c58ef23984895c9a76f69812
2010-04-14 13:43:21 +02:00

28 lines
889 B
Text

# Template file for 'libgphoto2-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 intltool
Add_dependency run doxygen
Add_dependency run libltdl-devel
Add_dependency run libusb-compat-devel
Add_dependency run jpeg-devel
Add_dependency run gd-devel
Add_dependency run libexif-devel
Add_dependency run dbus-devel
Add_dependency run libhal-devel
Add_dependency run libgphoto2
do_install()
{
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/{bin,include} ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/doc ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
}