aboutsummaryrefslogtreecommitdiff
path: root/package/libmhash/libmhash.mk
blob: 00da7c1e22e2654db36c0d14764b6ec9a54e830d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
################################################################################
#
# libmhash
#
################################################################################

LIBMHASH_VERSION = 0.9.9.9
LIBMHASH_SITE = http://downloads.sourceforge.net/project/mhash/mhash/$(LIBMHASH_VERSION)
LIBMHASH_SOURCE = mhash-$(LIBMHASH_VERSION).tar.bz2
LIBMHASH_INSTALL_STAGING = YES
# libtool 1.5 patch failure
LIBMHASH_AUTORECONF = YES
LIBMHASH_LICENSE = LGPLv2
LIBMHASH_LICENSE_FILES = COPYING

# Two trees in the tarball cause autoreconf problems
define LIBMHASH_REMOVE_DUPLICATE
	$(RM) -rf $(@D)/mhash-0.9.9
endef
LIBMHASH_POST_EXTRACT_HOOKS += LIBMHASH_REMOVE_DUPLICATE

$(eval $(autotools-package))