2014-12-16 04:53:54 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# ustr
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
USTR_VERSION = 1.0.4
|
|
|
|
USTR_SOURCE = ustr-$(USTR_VERSION).tar.bz2
|
2015-03-09 23:14:51 +01:00
|
|
|
USTR_SITE = http://www.and.org/ustr/$(USTR_VERSION)
|
2015-12-14 14:11:00 +01:00
|
|
|
USTR_LICENSE = BSD-2c, MIT, LGPLv2+
|
2015-03-09 22:09:33 +01:00
|
|
|
USTR_LICENSE_FILES = LICENSE LICENSE_BSD LICENSE_LGPL LICENSE_MIT
|
2015-12-08 23:27:57 +01:00
|
|
|
USTR_AUTORECONF = YES
|
|
|
|
USTR_PATCH = \
|
|
|
|
http://http.debian.net/debian/pool/main/u/ustr/ustr_$(USTR_VERSION)-5.debian.tar.xz
|
2014-12-16 04:53:54 +01:00
|
|
|
|
|
|
|
USTR_INSTALL_STAGING = YES
|
|
|
|
|
2015-12-08 23:27:57 +01:00
|
|
|
# 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
|
2014-12-16 04:53:54 +01:00
|
|
|
|
2015-12-08 23:27:57 +01:00
|
|
|
$(eval $(autotools-package))
|
|
|
|
$(eval $(host-autotools-package))
|