summaryrefslogtreecommitdiff
path: root/gdbm/gdbm_1.8.3.oe
diff options
context:
space:
mode:
Diffstat (limited to 'gdbm/gdbm_1.8.3.oe')
-rw-r--r--gdbm/gdbm_1.8.3.oe12
1 files changed, 5 insertions, 7 deletions
diff --git a/gdbm/gdbm_1.8.3.oe b/gdbm/gdbm_1.8.3.oe
index dfb6efd32b..f15e99288c 100644
--- a/gdbm/gdbm_1.8.3.oe
+++ b/gdbm/gdbm_1.8.3.oe
@@ -5,16 +5,14 @@ SECTION = "libs"
DESCRIPTION = "GNU dbm is a set of database routines \
that use extensible hashing."
-SRC_URI = ${GNU_MIRROR}/${PN}/${P}.tar.gz \
- file://${FILESDIR}/makefile.patch;patch=1
+SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \
+ file://${FILESDIR}/makefile.patch;patch=1"
inherit autotools libtool
do_stage () {
- install -m 0755 .libs/libgdbm.so.3.0.0 ${STAGING_LIBDIR}/
+ oe_soinstall .libs/libgdbm.so.3.0.0 ${STAGING_LIBDIR}/
install -m 0644 .libs/libgdbm.a ${STAGING_LIBDIR}/
- install -m 0644 gdbm.h ${STAGING_DIR}/target/include/
- ln -sf ${STAGING_LIBDIR}/libgdbm.so.3.0.0 ${STAGING_LIBDIR}/libgdbm.so.3
- ln -sf ${STAGING_LIBDIR}/libgdbm.so.3.0.0 ${STAGING_LIBDIR}/libgdbm.so
+ install -m 0644 .libs/libgdbm.lai ${STAGING_LIBDIR}/libgdbm.la
+ install -m 0644 ${S}/gdbm.h ${STAGING_INCDIR}/
}
-