2 # cramfs-native OE build file
3 # Copyright (C) 2004, Advanced Micro Devices, Inc. All Rights Reserved
4 # Released under the MIT license (see packages/COPYING)
6 DESCRIPTION="Disk based hashes is a method to create multidimensional binary trees on disk."
7 HOMEPAGE="http://dbh.sourceforge.net"
9 SRC_URI="${SOURCEFORGE_MIRROR}/dbh/${PN}_${PV}.tar.bz2 \
10 file://${FILESDIR}/configure.patch;patch=1"
12 S=${WORKDIR}/${PN}_${PV}
14 inherit autotools pkgconfig
17 install -m 644 src/dbh_config.h ${STAGING_INCDIR}
18 install -m 644 src/dbh_functions.h ${STAGING_INCDIR}
19 install -m 644 src/dbh.h ${STAGING_INCDIR}
21 oe_soinstall src/.libs/libdbh-1.0.so.1.0.0 ${STAGING_LIBDIR}
22 ln -s ${STAGING_LIBDIR}/libdbh-1.0.so.1.0.0 ${STAGING_LIBDIR}/libdbh.so