feat: add cabal-install package
closes #8919 Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
This commit is contained in:
parent
3a1acb712b
commit
7e97edb3ca
10
packages/cabal-install/build.sh
Normal file
10
packages/cabal-install/build.sh
Normal file
@ -0,0 +1,10 @@
|
||||
TERMUX_PKG_HOMEPAGE="http://www.haskell.org/cabal/"
|
||||
TERMUX_PKG_DESCRIPTION="The command-line interface for Cabal and Hackage."
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="3.6.2.0"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/cabal-install-${TERMUX_PKG_VERSION}/cabal-install-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="dcf99e1d5f1c6e569e7386312fe96e9804b3cfb2d4f17ded1e01f60149bd3036"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs, haskell-edit-distance, haskell-zlib, haskell-http, haskell-network-uri, haskell-regex-base, haskell-async, haskell-lukko, haskell-cabal, haskell-resolv, haskell-echo, haskell-random, haskell-hashable, haskell-cryptohash-sha256, haskell-tar, haskell-base16-bytestring, haskell-hackage-security, haskell-regex-posix"
|
||||
TERMUX_PKG_IS_HASKELL_LIB=false
|
9
packages/haskell-async/build.sh
Normal file
9
packages/haskell-async/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="https://github.com/simonmar/async"
|
||||
TERMUX_PKG_DESCRIPTION="Run IO operations asynchronously and wait for their results"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="2.2.4"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/async-${TERMUX_PKG_VERSION}/async-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="484df85be0e76c4fed9376451e48e1d0c6e97952ce79735b72d54297e7e0a725"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs, haskell-hashable"
|
9
packages/haskell-base16-bytestring/build.sh
Normal file
9
packages/haskell-base16-bytestring/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="http://github.com/haskell/base16-bytestring"
|
||||
TERMUX_PKG_DESCRIPTION="RFC 4648-compliant Base16 encodings for ByteStrings"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="1.0.2.0"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/base16-bytestring-${TERMUX_PKG_VERSION}/base16-bytestring-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="1d5a91143ef0e22157536093ec8e59d226a68220ec89378d5dcaeea86472c784"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs"
|
9
packages/haskell-base64-bytestring/build.sh
Normal file
9
packages/haskell-base64-bytestring/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="https://github.com/haskell/base64-bytestring"
|
||||
TERMUX_PKG_DESCRIPTION="Fast base64 encoding and decoding for ByteStrings"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="1.2.1.0"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/base64-bytestring-${TERMUX_PKG_VERSION}/base64-bytestring-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="fbf8ed30edde271eb605352021431d8f1b055f95a56af31fe2eacf6bdfdc49c9"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs"
|
9
packages/haskell-cabal-syntax/build.sh
Normal file
9
packages/haskell-cabal-syntax/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="http://www.haskell.org/cabal/"
|
||||
TERMUX_PKG_DESCRIPTION="A library for working with .cabal files"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="3.6.0.0"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/Cabal-syntax-${TERMUX_PKG_VERSION}/Cabal-syntax-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="ca25e5fc601397565fa857f1aa477740fac7f43d659e77c4d9b1485dca239251"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs, haskell-cabal"
|
9
packages/haskell-cabal/build.sh
Normal file
9
packages/haskell-cabal/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="http://www.haskell.org/cabal/"
|
||||
TERMUX_PKG_DESCRIPTION="A framework for packaging Haskell software"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="3.6.2.0"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/Cabal-${TERMUX_PKG_VERSION}/Cabal-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="9e903d06a7fb0893c6f303199e737a7d555fbb5e309be8bcc782b4eb2717bc42"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs"
|
11
packages/haskell-cabal/set-default-prefix.patch
Normal file
11
packages/haskell-cabal/set-default-prefix.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- Cabal-3.6.2.0/src/Distribution/Simple/InstallDirs.hs 2001-09-09 07:16:40.000000000 +0530
|
||||
+++ Cabal-3.6.2.0-patch/src/Distribution/Simple/InstallDirs.hs 2022-02-17 23:25:55.447871965 +0530
|
||||
@@ -193,7 +193,7 @@
|
||||
else case buildOS of
|
||||
Windows -> do windowsProgramFilesDir <- getWindowsProgramFilesDir
|
||||
return (windowsProgramFilesDir </> "Haskell")
|
||||
- _ -> return "/usr/local"
|
||||
+ _ -> return "@TERMUX_PREFIX@"
|
||||
installLibDir <-
|
||||
case buildOS of
|
||||
Windows -> return "$prefix"
|
9
packages/haskell-cryptohash-sha256/build.sh
Normal file
9
packages/haskell-cryptohash-sha256/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="https://github.com/hvr/cryptohash-sha256"
|
||||
TERMUX_PKG_DESCRIPTION="Fast, pure and practical SHA-256 implementation"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="0.11.102.1"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/cryptohash-sha256-${TERMUX_PKG_VERSION}/cryptohash-sha256-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="73a7dc7163871a80837495039a099967b11f5c4fe70a118277842f7a713c6bf6"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs"
|
9
packages/haskell-echo/build.sh
Normal file
9
packages/haskell-echo/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="https://github.com/RyanGlScott/echo"
|
||||
TERMUX_PKG_DESCRIPTION="A cross-platform, cross-console way to handle echoing terminal input"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="0.1.4"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/echo-${TERMUX_PKG_VERSION}/echo-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="c9fe1bf2904825a65b667251ec644f197b71dc5c209d2d254be5de3d496b0e43"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs"
|
9
packages/haskell-ed25519/build.sh
Normal file
9
packages/haskell-ed25519/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="http://thoughtpolice.github.com/hs-ed25519"
|
||||
TERMUX_PKG_DESCRIPTION="Ed25519 cryptographic signatures"
|
||||
TERMUX_PKG_LICENSE="MIT"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="0.0.5.0"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/ed25519-${TERMUX_PKG_VERSION}/ed25519-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="d8a5958ebfa9309790efade64275dc5c441b568645c45ceed1b0c6ff36d6156d"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs"
|
9
packages/haskell-edit-distance/build.sh
Normal file
9
packages/haskell-edit-distance/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="http://github.com/phadej/edit-distance"
|
||||
TERMUX_PKG_DESCRIPTION="Levenshtein and restricted Damerau-Levenshtein edit distances"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="0.2.2.1"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/edit-distance-${TERMUX_PKG_VERSION}/edit-distance-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="3e8885ee2f56ad4da940f043ae8f981ee2fe336b5e8e4ba3f7436cff4f526c4a"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs, haskell-random"
|
9
packages/haskell-hackage-security/build.sh
Normal file
9
packages/haskell-hackage-security/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="https://github.com/haskell/hackage-security"
|
||||
TERMUX_PKG_DESCRIPTION="Hackage security library"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="0.6.2.1"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/hackage-security-${TERMUX_PKG_VERSION}/hackage-security-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="bf22cd16dde7d6b7130463f4d7324b64a2964d9ef3f523df97d7cb98544d64a8"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs, haskell-zlib, haskell-ed25519, haskell-network-uri, haskell-lukko, haskell-network, haskell-cabal, haskell-base64-bytestring, haskell-tar, haskell-cryptohash-sha256, haskell-base16-bytestring, haskell-cabal-syntax"
|
9
packages/haskell-hashable/build.sh
Normal file
9
packages/haskell-hashable/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="http://github.com/haskell-unordered-containers/hashable"
|
||||
TERMUX_PKG_DESCRIPTION="A class for types that can be converted to a hash value"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="1.3.5.0"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/hashable-${TERMUX_PKG_VERSION}/hashable-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="baaad82cd4271b197016bdbe76f22d5c3d3913fe38534cec7d817db9bae19886"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs"
|
9
packages/haskell-http/build.sh
Normal file
9
packages/haskell-http/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="https://github.com/haskell/HTTP"
|
||||
TERMUX_PKG_DESCRIPTION="A library for client-side HTTP"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="4000.3.16"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/HTTP-${TERMUX_PKG_VERSION}/HTTP-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="d6091c037871ac3d08d021c906206174567499d5a26a6cb804cf530cd590fe2d"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs, haskell-network-uri, haskell-network"
|
9
packages/haskell-lukko/build.sh
Normal file
9
packages/haskell-lukko/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="https://hackage.haskell.org/package/lukko"
|
||||
TERMUX_PKG_DESCRIPTION="File locking"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0, GPL-3.0, BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="0.1.1.3"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/lukko-${TERMUX_PKG_VERSION}/lukko-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="a80efb60cfa3dae18682c01980d76d5f7e413e191cd186992e1bf7388d48ab1f"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs"
|
9
packages/haskell-network-uri/build.sh
Normal file
9
packages/haskell-network-uri/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="https://github.com/haskell/network-uri"
|
||||
TERMUX_PKG_DESCRIPTION="URI manipulation"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="2.6.4.1"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/network-uri-${TERMUX_PKG_VERSION}/network-uri-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="57856db93608a4d419f681b881c9b8d4448800d5a687587dc37e8a9e0b223584"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs, haskell-th-compat"
|
9
packages/haskell-network/build.sh
Normal file
9
packages/haskell-network/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="https://github.com/haskell/network"
|
||||
TERMUX_PKG_DESCRIPTION="Low-level networking interface"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="3.1.2.7"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/network-${TERMUX_PKG_VERSION}/network-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="7f7620fef1a1af3d3d6747f510e73223a5c600e7d7fd9ace073d1222bdc63d85"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs"
|
9
packages/haskell-random/build.sh
Normal file
9
packages/haskell-random/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="https://hackage.haskell.org/package/random"
|
||||
TERMUX_PKG_DESCRIPTION="Pseudo-random number generation"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="1.2.1"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/random-${TERMUX_PKG_VERSION}/random-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="265c768fc5f2ca53cde6a87e706b4448cad474c3deece933c103f24453661457"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs, haskell-splitmix"
|
9
packages/haskell-regex-base/build.sh
Normal file
9
packages/haskell-regex-base/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="https://wiki.haskell.org/Regular_expressions"
|
||||
TERMUX_PKG_DESCRIPTION="Common "Text.Regex.*" API for Regex matching"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="0.94.0.2"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/regex-base-${TERMUX_PKG_VERSION}/regex-base-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="7b99408f580f5bb67a1c413e0bc735886608251331ad36322020f2169aea2ef1"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs"
|
9
packages/haskell-regex-posix/build.sh
Normal file
9
packages/haskell-regex-posix/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="https://hackage.haskell.org/package/regex-posix"
|
||||
TERMUX_PKG_DESCRIPTION="POSIX Backend for "Text.Regex" (regex-base)"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="0.96.0.1"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/regex-posix-${TERMUX_PKG_VERSION}/regex-posix-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="c7827c391919227711e1cff0a762b1678fd8739f9c902fc183041ff34f59259c"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs, haskell-regex-base"
|
9
packages/haskell-resolv/build.sh
Normal file
9
packages/haskell-resolv/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="https://hackage.haskell.org/package/resolv"
|
||||
TERMUX_PKG_DESCRIPTION="Domain Name Service (DNS) lookup via the libresolv standard library routines"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0, GPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="0.1.2.0"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/resolv-${TERMUX_PKG_VERSION}/resolv-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="81a2bafad484db123cf8d17a02d98bb388a127fd0f822fa022589468a0e64671"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs, haskell-base16-bytestring"
|
24
packages/haskell-resolv/hs_resolv.patch
Normal file
24
packages/haskell-resolv/hs_resolv.patch
Normal file
@ -0,0 +1,24 @@
|
||||
--- resolv-0.1.2.0/cbits/hs_resolv.h 2001-09-09 07:16:40.000000000 +0530
|
||||
+++ resolv-0.1.2.0-patch/cbits/hs_resolv.h 2022-02-03 20:54:49.602546255 +0530
|
||||
@@ -84,12 +84,8 @@
|
||||
{
|
||||
assert(!s);
|
||||
|
||||
- if (!(_res.options & RES_INIT)) {
|
||||
int rc = res_init();
|
||||
if (rc) return rc;
|
||||
- }
|
||||
-
|
||||
- _res.options |= RES_USE_DNSSEC | RES_USE_EDNS0;
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -112,7 +108,7 @@
|
||||
{
|
||||
assert(!s);
|
||||
|
||||
- return res_send(msg, msglen, answer, anslen);
|
||||
+ return -1;
|
||||
}
|
||||
|
||||
inline static int
|
9
packages/haskell-splitmix/build.sh
Normal file
9
packages/haskell-splitmix/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="https://hackage.haskell.org/package/splitmix"
|
||||
TERMUX_PKG_DESCRIPTION="Fast Splittable PRNG"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="0.1.0.4"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/splitmix-${TERMUX_PKG_VERSION}/splitmix-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="6d065402394e7a9117093dbb4530a21342c9b1e2ec509516c8a8d0ffed98ecaa"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs"
|
9
packages/haskell-tar/build.sh
Normal file
9
packages/haskell-tar/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="https://hackage.haskell.org/package/tar"
|
||||
TERMUX_PKG_DESCRIPTION="Reading, writing and manipulating ".tar" archive files."
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="0.5.1.1"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/tar-${TERMUX_PKG_VERSION}/tar-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="b384449f62b2b0aa3e6d2cb1004b8060b01f21ec93e7b63e7af6d8fad8a9f1de"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs"
|
9
packages/haskell-th-compat/build.sh
Normal file
9
packages/haskell-th-compat/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="https://github.com/haskell-compat/th-compat"
|
||||
TERMUX_PKG_DESCRIPTION="Backward- (and forward-)compatible Quote and Code types"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="0.1.3"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/th-compat-${TERMUX_PKG_VERSION}/th-compat-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="6b5059caf6714f47da92953badf2f556119877e09708c14e206b3ae98b8681c6"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs"
|
9
packages/haskell-zlib/build.sh
Normal file
9
packages/haskell-zlib/build.sh
Normal file
@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE="https://hackage.haskell.org/package/zlib"
|
||||
TERMUX_PKG_DESCRIPTION="Compression and decompression in the gzip and zlib formats"
|
||||
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Aditya Alok <dev.aditya.alok@gmail.com>"
|
||||
TERMUX_PKG_VERSION="0.6.2.3"
|
||||
TERMUX_PKG_SRCURL="https://hackage.haskell.org/package/zlib-${TERMUX_PKG_VERSION}/zlib-${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256="807f6bddf9cb3c517ce5757d991dde3c7e319953a22c86ee03d74534bd5abc88"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_DEPENDS="ghc-libs"
|
Loading…
Reference in New Issue
Block a user