summaryrefslogtreecommitdiff
path: root/packages/dev-libs/talloc/talloc-2.1.16-r1.exheres-0
blob: 52276282727e3406fca4568082487c2eefbcafdb (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
27
28
29
30
31
32
33
# Copyright 2009 Ingmar Vanhassel <ingmar@exherbo.org>
# Distributed under the terms of the GNU General Public License v2

require wafsamba

SUMMARY="A hierarchical pool based memory allocator with destructors"
DESCRIPTION="
Talloc is a hierarchical pool based memory allocator with destructors. It is the core memory
allocator used in Samba, and has made a huge difference in many aspects of Samba4 development.
"
HOMEPAGE="https://${PN}.samba.org"
DOWNLOADS="https://samba.org/ftp/${PN}/${PNV}.tar.gz"

LICENCES="LGPL-3"
SLOT="0"
PLATFORMS="~amd64 ~armv7 ~armv8 ~x86"
MYOPTIONS=""

DEPENDENCIES="
    build+run:
        dev-libs/libbsd [[ note = [ automagic ] ]]
"

WAF_SRC_COMPILE_PARAMS=( -j1 )

DEFAULT_SRC_INSTALL_EXCLUDE=( release-script.sh )

src_install() {
    waf_src_install

    dosym /usr/$(exhost --target)/lib/{libtalloc.so.${PV},libtalloc.so}
}