summaryrefslogtreecommitdiff
path: root/popt/popt_1.7.oe
blob: c3cc5cd06bfced1957531333506212f9863328c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
DEPENDS = "virtual/libc"
DESCRIPTION = "The popt library exists essentially \
for parsing command line options."

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 () {
	oe_soinstall .libs/libpopt.so.0.0.0 ${STAGING_LIBDIR}/
	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}/
}