cabal-install: update to 1.24.0.1.
This commit is contained in:
parent
b9ff128b03
commit
0717777003
2 changed files with 9 additions and 5 deletions
|
@ -1,22 +1,24 @@
|
||||||
# Template file for 'cabal-install'
|
# Template file for 'cabal-install'
|
||||||
pkgname=cabal-install
|
pkgname=cabal-install
|
||||||
version=1.24.0.0
|
version=1.24.0.1
|
||||||
revision=1
|
revision=1
|
||||||
hostmakedepends="ghc curl"
|
hostmakedepends="ghc curl"
|
||||||
makedepends="gmp-devel libffi-devel zlib-devel"
|
makedepends="gmp-devel libffi-devel zlib-devel"
|
||||||
depends="ghc"
|
depends="ghc"
|
||||||
short_desc="Command-line interface for Cabal and Hackage"
|
short_desc="Command-line interface for Cabal and Hackage"
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
license="custom"
|
license="3-clause-BSD"
|
||||||
homepage="http://hackage.haskell.org/package/cabal-install"
|
homepage="http://hackage.haskell.org/package/cabal-install"
|
||||||
distfiles="http://hackage.haskell.org/packages/archive/$pkgname/$version/$pkgname-$version.tar.gz"
|
distfiles="http://hackage.haskell.org/packages/archive/${pkgname}/${version}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=d840ecfd0a95a96e956b57fb2f3e9c81d9fc160e1fd0ea350b0d37d169d9e87e
|
checksum=09f5fd8a2aa7f9565800a711a133f8142d36d59b38f59da09c25045b83ee9ecc
|
||||||
nopie=yes # network-2.6.0.2 build fails with a relocation
|
nopie=yes # network-2.6.0.2 build fails with a relocation
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
sed -i '/CABAL_VER_REGEXP=/s/0-9/1-9/' bootstrap.sh # upstream 2627edf1
|
||||||
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
PREFIX=$PWD/build sh bootstrap.sh --user --no-doc
|
PREFIX=$PWD/build sh bootstrap.sh --user --no-doc
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin build/bin/cabal
|
vbin build/bin/cabal
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
2
srcpkgs/cabal-install/update
Normal file
2
srcpkgs/cabal-install/update
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
site='http://www.stackage.org/lts'
|
||||||
|
pattern='cabal-install-\K[\d.]+'
|
Loading…
Reference in a new issue