summaryrefslogtreecommitdiff
path: root/gdbm/gdbm_1.8.3.oe
blob: dfb6efd32bdf7768e397ee3eb5f7fcaf45399f0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DEPENDS = "virtual/libc"
RDEPENDS = "libc6"
PROVIDES = "virtual/libgdbm"
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

inherit autotools libtool

do_stage () {
	install -m 0755 .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
}