vp-build/srcpkgs/libtool/libltdl-devel.template
Juan RP 1b108829fa libtool: update to 2.2.6b, add new libltdl-devel subpkg.
--HG--
extra : convert_revision : f36cc3f6b6ffed4dd3457b8f84cac3bb363ad8f7
2009-12-27 16:48:58 +01:00

30 lines
1.0 KiB
Plaintext

# Template file for 'libltdl-devel'.
#
short_desc="GNU Libtool Dynamic Module Loader development files"
long_desc="
The libltdl package contains the GNU Libtool Dynamic Module Loader, a
library that provides a consistent, portable interface which simplifies the
process of using dynamic modules.
These runtime libraries are needed by programs that link directly to the
system-installed ltdl libraries; they are not needed by software built using the
rest of the GNU Autotools (including GNU Autoconf and GNU Automake).
This package contains development files required by libltdl."
Add_dependency run libltdl
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/share/aclocal
mkdir -p ${DESTDIR}/usr/share/libtool
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so* ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/aclocal/ltdl.m4 \
${DESTDIR}/usr/share/aclocal
mv ${SRCPKGDESTDIR}/usr/share/libtool/libltdl \
${DESTDIR}/usr/share/libtool
}