2 # Copyright (C) 2015 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
/autoconf
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_MD5SUM
:=82d05e03b93e45f5a39b828dc9c6c29b
17 PKG_MAINTAINER
:=Heinrich Schuchardt
<xypron.glpk@gmx.de
>
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/autoconf
28 URL
:=https
://www.gnu.org
/software
/autoconf
/
29 DEPENDS
:=+m4
+perl
+perlbase-data
+perlbase-file
+perlbase-getopt \
30 +perlbase-dynaloader
+perlbase-text
33 define Package
/autoconf
/description
34 Autoconf is an extensible package of M4 macros that produce
shell scripts to
35 automatically configure software source code packages.
39 $(SED
) 's/@PERL@/\/usr\/bin\/perl/g' $(PKG_BUILD_DIR
)/bin
/Makefile.in
40 $(call Build
/Install
/Default
)
43 define Package
/autoconf
/install
44 $(INSTALL_DIR
) $(1)/usr
/bin
45 $(SED
) 's|$(STAGING_DIR_HOST)|/usr|g' $(PKG_INSTALL_DIR
)/usr
/bin
/autom4te
46 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(1)/usr
/bin
/
47 $(INSTALL_DIR
) $(1)/usr
/share
/autoconf
48 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/share
/autoconf
/INSTALL \
49 $(1)/usr
/share
/autoconf
/
50 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/share
/autoconf
/autom4te.cfg \
51 $(1)/usr
/share
/autoconf
/
52 $(INSTALL_DIR
) $(1)/usr
/share
/autoconf
/Autom4te
53 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/share
/autoconf
/Autom4te
/* \
54 $(1)/usr
/share
/autoconf
/Autom4te
/
55 $(INSTALL_DIR
) $(1)/usr
/share
/autoconf
/autoconf
56 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/share
/autoconf
/autoconf
/* \
57 $(1)/usr
/share
/autoconf
/autoconf
/
58 $(INSTALL_DIR
) $(1)/usr
/share
/autoconf
/autoscan
59 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/share
/autoconf
/autoscan
/* \
60 $(1)/usr
/share
/autoconf
/autoscan
/
61 $(INSTALL_DIR
) $(1)/usr
/share
/autoconf
/autotest
62 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/share
/autoconf
/autotest
/* \
63 $(1)/usr
/share
/autoconf
/autotest
/
64 $(INSTALL_DIR
) $(1)/usr
/share
/autoconf
/m4sugar
65 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/share
/autoconf
/m4sugar
/* \
66 $(1)/usr
/share
/autoconf
/m4sugar
/
69 $(eval
$(call BuildPackage
,autoconf
))