aboutsummaryrefslogtreecommitdiffstats
path: root/libtool/libtool-1.4.3.oe
blob: c3072dc29b79c83d505e30555aa37c2a6b818e0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
PR = r0

DESCRIPTION = Generic library support script\
 This is GNU libtool, a generic library support script.  Libtool hides\
 the complexity of generating special library types (such as shared\
 libraries) behind a consistent interface.  To use libtool, add the\
 new generic library building commands to your Makefile, Makefile.in,\
 or Makefile.am.  See the documentation for details.  Libtool supports\
 building static libraries on all platforms.\
 Libtool supports generation of C, C++ and Java libraries.

DEPENDS=

SRC_URI = ${DEBIAN_MIRROR}/main/libt/${PN}/${PN}_${PV}.orig.tar.gz \
	  file://${FILESDIR}/debian.patch;patch=1 \
	  file://${FILESDIR}/libdir.patch;patch=1 \
	  file://${FILESDIR}/sedvar.patch;patch=1 \
	  file://${FILESDIR}/libtoolize-staging.patch;patch=1
S = "${WORKDIR}/${P}"

inherit autotools

EXTRA_OECONF = --disable-ltdl-install
do_configure_prepend () {
	./bootstrap
}

do_stage () {
	install -d ${STAGING_DIR}/share/libtool \
		   ${STAGING_DIR}/share/aclocal
	install -m 0755 libtool ${STAGING_BINDIR}/libtool
	install -m 0755 libtoolize ${STAGING_BINDIR}/libtoolize
	install -c config.guess ${STAGING_DIR}/share/libtool/
	install -c config.sub ${STAGING_DIR}/share/libtool/
	install -c -m 0644 ltmain.sh ${STAGING_DIR}/share/libtool/
	install -c -m 0644 libtool.m4 ${STAGING_DIR}/share/aclocal/
	install -c -m 0644 ltdl.m4 ${STAGING_DIR}/share/aclocal/
}