summaryrefslogtreecommitdiff
path: root/packages/dev-libs/ustr/ustr-1.0.4.exheres-0
blob: 0689902dcbbb3f24180d92f5dd4866ef5ddfad9a (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
# Copyright 2016 Julien Pivotto <roidelapluie@inuits.eu>
# Distributed under the terms of the GNU General Public License v2

require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.13 ] ]

SUMMARY="Micro String API for C"
DESCRIPTION="Micro string library, very low overhead from plain strdup() (Ave. 44% for 0-20B
strings)."
HOMEPAGE="http://www.and.org/${PN}/"
DOWNLOADS="${HOMEPAGE}/${PN}/${PV}/${PNV}.tar.gz"

LICENCES="MIT"
SLOT="0"
PLATFORMS="~amd64"

BUGS_TO="roidelapluie@inuits.eu"

DEFAULT_SRC_COMPILE_PARAMS=( CC="${CC}" AR="${AR}" RANLIB="${RANLIB}" )
DEFAULT_SRC_TEST_PARAMS=( CC="${CC}" AR="${AR}" RANLIB="${RANLIB}" )
DEFAULT_SRC_INSTALL_PARAMS=( prefix="/usr/$(exhost --target)/" CC="${CC}" AR="${AR}" RANLIB="${RANLIB}" )

DEFAULT_SRC_PREPARE_PATCHES=(
     "${FILES}/${PN}-autoconf.patch"
     "${FILES}/${PN}-gnu-inline.patch"
     "${FILES}/${PN}-unused-vars.patch"
)