void-packages/srcpkgs/libtool/libltdl-devel.template
Juan RP 51045c87cc libltdl: move so symlink into main pkg.
--HG--
extra : convert_revision : dd41c113de0af072b4e962edaef4bdacd7c42ade
2010-04-22 13:51:42 +02:00

30 lines
1,016 B
Text

# 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."
revision=1
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/share/aclocal/ltdl.m4 \
${DESTDIR}/usr/share/aclocal
mv ${SRCPKGDESTDIR}/usr/share/libtool/libltdl \
${DESTDIR}/usr/share/libtool
}