summaryrefslogtreecommitdiff
path: root/popt
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-12-13 01:37:37 +0000
committerChris Larson <clarson@kergoth.com>2003-12-13 01:37:37 +0000
commit397c470d0c7bf421a3b8f777db16c907b7bcf7f8 (patch)
tree3b2d84ff6e6395a343cc204d1596ce72514972cb /popt
parentbb72fbc2926cc7d16f227b9e34c00c91b5ca4571 (diff)
Add do_stage target to popt.
BKrev: 3fda6d61fCNKC3LZIXp7mzy-MFkTBg
Diffstat (limited to 'popt')
-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}/
+}