2 # Copyright (C) 2015-2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE_URL
:=@GNU
/automake
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_MD5SUM
:=716946a105ca228ab545fc37a70df3a3
17 PKG_MAINTAINER
:=Heinrich Schuchardt
<xypron.glpk@gmx.de
>
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/automake
28 URL
:=https
://www.gnu.org
/software
/automake
/
29 DEPENDS
:=+autoconf
+perlbase-thread
+perlbase-attributes
32 define Package
/automake
/description
33 Automake is a tool for automatically generating Makefile.in files compliant
34 with the GNU Coding Standards.
37 define Package
/automake
/install
38 $(INSTALL_DIR
) $(1)/usr
/bin
39 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/automake-
$(PKG_VERSION
) \
40 $(1)/usr
/bin
/automake-
$(PKG_VERSION
)
41 $(LN
) automake-
$(PKG_VERSION
) $(1)/usr
/bin
/automake
42 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/aclocal-
$(PKG_VERSION
) \
43 $(1)/usr
/bin
/aclocal-
$(PKG_VERSION
)
44 $(LN
) aclocal-
$(PKG_VERSION
) $(1)/usr
/bin
/aclocal
45 $(SED
) 's|$(STAGING_DIR_HOST)|/usr|g' \
46 $(1)/usr
/bin
/automake-
$(PKG_VERSION
)
47 $(SED
) 's|$(STAGING_DIR_HOST)|/usr|g' \
48 $(1)/usr
/bin
/aclocal-
$(PKG_VERSION
)
49 $(INSTALL_DIR
) $(1)/usr
/share
/automake-
$(PKG_VERSION
)
52 automake-
$(PKG_VERSION
) automake-
$(PKG_VERSION
)/Automake \
53 automake-
$(PKG_VERSION
)/am aclocal \
54 aclocal-
$(PKG_VERSION
) aclocal-
$(PKG_VERSION
)/internal \
56 $(INSTALL_DIR
) $(1)/usr
/share
/$$$$dir; \
57 for file in
$$$$(cd
$(PKG_INSTALL_DIR
) && \
58 find usr
/share
/$$$$dir -maxdepth
1 -type f
); do \
59 $(INSTALL_DATA
) $$(PKG_INSTALL_DIR
)/$$$$file \
65 $(eval
$(call BuildPackage
,automake
))