summaryrefslogtreecommitdiff
path: root/popt/popt_1.7.oe
blob: ee1b6b1e6d71eff7ffd583ec6d722e30e583eb33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
DEPENDS = virtual/libc
RDEPENDS = libc6

SRC_URI = ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/popt-${PV}.tar.gz \
	  file://${FILESDIR}/m4.patch;patch=1

inherit autotools libtool

do_stage () {
	install -m 0755 .libs/libpopt.so.0.0.0 ${STAGING_LIBDIR}/
	ln -sf libpopt.so.0.0.0 ${STAGING_LIBDIR}/libpopt.so.0
	ln -sf libpopt.so.0.0.0 ${STAGING_LIBDIR}/libpopt.so
	install -m 0644 .libs/libpopt.a ${STAGING_LIBDIR}/
	install -m 0644 .libs/libpopt.lai ${STAGING_LIBDIR}/libpopt.la
	install -m 0644 popt.h ${STAGING_INCDIR}/
}