OpenWrt – Blame information for rev 4
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
4 | office | 1 | # |
2 | # Copyright (C) 2006-2015 OpenWrt.org |
||
3 | # |
||
4 | # This is free software, licensed under the GNU General Public License v2. |
||
5 | # See /LICENSE for more information. |
||
6 | # |
||
7 | include $(TOPDIR)/rules.mk |
||
8 | |||
9 | PKG_NAME:=automake |
||
10 | PKG_CPE_ID:=cpe:/a:gnu:automake |
||
11 | PKG_VERSION:=1.15.1 |
||
12 | |||
13 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
||
14 | PKG_SOURCE_URL:=@GNU/automake |
||
15 | PKG_HASH:=af6ba39142220687c500f79b4aa2f181d9b24e4f8d8ec497cea4ba26c64bedaf |
||
16 | |||
17 | include $(INCLUDE_DIR)/host-build.mk |
||
18 | |||
19 | HOST_CONFIGURE_ARGS += \ |
||
20 | --datarootdir=$(STAGING_DIR_HOST)/share \ |
||
21 | --disable-silent-rules |
||
22 | |||
23 | HOST_CONFIGURE_VARS += \ |
||
24 | PERL="/usr/bin/env perl" \ |
||
25 | am_cv_prog_PERL_ithreads=no |
||
26 | |||
27 | define Host/Configure |
||
28 | (cd $(HOST_BUILD_DIR); $(AM_TOOL_PATHS) STAGING_DIR="" ./bootstrap) |
||
29 | $(call Host/Configure/Default) |
||
30 | endef |
||
31 | |||
32 | define Host/Install |
||
33 | # remove old automake resources to avoid version conflicts |
||
34 | rm -rf $(STAGING_DIR_HOST)/share/aclocal-[0-9]* |
||
35 | rm -rf $(STAGING_DIR_HOST)/share/automake-[0-9]* |
||
36 | $(MAKE) -C $(HOST_BUILD_DIR) install |
||
37 | mv $(STAGING_DIR_HOST)/bin/aclocal $(STAGING_DIR_HOST)/bin/aclocal.real |
||
38 | $(INSTALL_BIN) ./files/aclocal $(STAGING_DIR_HOST)/bin |
||
39 | ln -sf aclocal $(STAGING_DIR_HOST)/bin/aclocal-1.9 |
||
40 | ln -sf aclocal $(STAGING_DIR_HOST)/bin/aclocal-1.10 |
||
41 | ln -sf aclocal $(STAGING_DIR_HOST)/bin/aclocal-1.11 |
||
42 | ln -sf aclocal $(STAGING_DIR_HOST)/bin/aclocal-1.11.6 |
||
43 | ln -sf aclocal $(STAGING_DIR_HOST)/bin/aclocal-1.15 |
||
44 | endef |
||
45 | |||
46 | define Host/Clean |
||
47 | -$(MAKE) -C $(HOST_BUILD_DIR) uninstall |
||
48 | $(call Host/Clean/Default) |
||
49 | endef |
||
50 | |||
51 | $(eval $(call HostBuild)) |