![Andrey Yurovsky](/assets/img/avatar_default.png)
Version 1.0.4-5 is no longer available, replace with 1.0.4-6 so ustr can continue to be built. [Peter: use snapshot.debian.org as suggested by Baruch] Signed-off-by: Andrey Yurovsky <yurovsky@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
33 lines
1.1 KiB
Makefile
33 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# ustr
|
|
#
|
|
################################################################################
|
|
|
|
# When bumping the version to a new upstream release, be sure to remove
|
|
# the ldconfig hack, below.
|
|
USTR_VERSION = 1.0.4
|
|
USTR_SOURCE = ustr-$(USTR_VERSION).tar.bz2
|
|
USTR_SITE = http://www.and.org/ustr/$(USTR_VERSION)
|
|
USTR_LICENSE = BSD-2-Clause, MIT, LGPL-2.0+
|
|
USTR_LICENSE_FILES = LICENSE LICENSE_BSD LICENSE_LGPL LICENSE_MIT
|
|
USTR_AUTORECONF = YES
|
|
USTR_PATCH = \
|
|
http://snapshot.debian.org/archive/debian/20180131T223129Z/pool/main/u/ustr/ustr_$(USTR_VERSION)-6.debian.tar.xz
|
|
|
|
USTR_INSTALL_STAGING = YES
|
|
|
|
# ustr only builds the static library by default, but the default
|
|
# install rule will install both the static and the shared libraries,
|
|
# which means the shared one is build during the install step. :-(
|
|
#
|
|
# We can however instruct ustr to build both at build time, by adding
|
|
# 'all-shared' to the default 'all' rule.
|
|
USTR_MAKE_OPTS = all all-shared
|
|
|
|
USTR_CONF_OPTS += LDCONFIG=/bin/true
|
|
HOST_USTR_CONF_OPTS += LDCONFIG=/bin/true
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|