summaryrefslogtreecommitdiff
path: root/popt/popt_1.7.oe
diff options
context:
space:
mode:
Diffstat (limited to 'popt/popt_1.7.oe')
-rw-r--r--popt/popt_1.7.oe16
1 files changed, 16 insertions, 0 deletions
diff --git a/popt/popt_1.7.oe b/popt/popt_1.7.oe
index e69de29bb2..ee1b6b1e6d 100644
--- a/popt/popt_1.7.oe
+++ b/popt/popt_1.7.oe
@@ -0,0 +1,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}/
+}