aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/talloc/talloc_2.0.1.bb
blob: 80f4b37b039f4a0b61862c0d92220537c9d86e5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
DESCRIPTION = "Hierarchical, reference counted memory pool system with destructors"
HOMEPAGE = "http://talloc.samba.org"
LICENSE = "LGPL"

inherit autotools pkgconfig

SRC_URI = "http://samba.org/ftp/${BPN}/${BPN}-${PV}.tar.gz"
SRC_URI[md5sum] = "c6e736540145ca58cb3dcb42f91cf57b"
SRC_URI[sha256sum] = "5b810527405f29d54f50efd78bf2c89e318f2cd8bed001f22f2a1412fd27c9b4"

TARGET_CC_ARCH += "${LDFLAGS}"

PR = "r1"

# autoreconf doesn't work well while reconfiguring included libreplace
do_configure () {
       gnu-configize
       oe_runconf
}

do_install_append() {
       install -d ${D}${libdir}
       ln -s libtalloc.so.2.0.1 ${D}${libdir}/libtalloc.so.2.0
       ln -s libtalloc.so.2.0 ${D}${libdir}/libtalloc.so.2
       ln -s libtalloc.so.2 ${D}${libdir}/libtalloc.so
}