summaryrefslogtreecommitdiff
path: root/package/mailutils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/mailutils/Makefile')
-rw-r--r--package/mailutils/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/mailutils/Makefile b/package/mailutils/Makefile
new file mode 100644
index 000000000..4bed18e02
--- /dev/null
+++ b/package/mailutils/Makefile
@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= mailutils
+PKG_VERSION:= 2.2
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 3abca5873249f0eeb184361a75f2229e
+PKG_DESCR:= GNU mail program
+PKG_SECTION:= mail
+PKG_BUILDDEP:= readline
+PKG_DEPENDS:= libreadline
+PKG_URL:= http://mailutils.org/
+PKG_SITES:= ftp://ftp.gnu.org/gnu/mailutils/
+
+PKG_HOST_DEPENDS:= x86 x86_64
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,MAILUTILS,mailutils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+mailutils-install:
+ $(INSTALL_DIR) $(IDIR_MAILUTILS)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/mail \
+ $(IDIR_MAILUTILS)/usr/bin
+ $(INSTALL_DIR) $(IDIR_MAILUTILS)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libmailutils*so* \
+ $(IDIR_MAILUTILS)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libmu*so* \
+ $(IDIR_MAILUTILS)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk