chiark / gitweb /
Create build.sh
authorits-pointless <its-pointless@users.noreply.github.com>
Sat, 26 Mar 2016 06:36:46 +0000 (17:36 +1100)
committerits-pointless <its-pointless@users.noreply.github.com>
Sat, 26 Mar 2016 06:36:46 +0000 (17:36 +1100)
packages/getmail/build.sh [new file with mode: 0644]

diff --git a/packages/getmail/build.sh b/packages/getmail/build.sh
new file mode 100644 (file)
index 0000000..c94e63b
--- /dev/null
@@ -0,0 +1,15 @@
+TERMUX_PKG_HOMEPAGE=http://pyropus.ca/software/getmail/
+TERMUX_PKG_DESCRIPTION="fetchmail replacement relatively easy to configure"
+TERMUX_PKG_VERSION=4.49.0
+TERMUX_PKG_SRCURL=http://pyropus.ca/software/getmail/old-versions/getmail-${TERMUX_PKG_VERSION}.tar.gz
+TERMUX_PKG_DEPENDS="python2"
+TERMUX_PKG_BUILD_IN_SRC=yes
+TERMUX_PKG_PLATFORM_INDEPENDENT=yes
+
+termux_step_make_install () {
+        python setup.py install --prefix=$TERMUX_PREFIX --force
+}
+
+termux_step_post_massage () {
+        find . -path '*.pyc' -delete
+}