Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=1bd4acc5eea2534c975ab6f4212db45d4e9f51d2
commit 1bd4acc5eea2534c975ab6f4212db45d4e9f51d2 Author: DeX77 <[email protected]> Date: Mon Nov 16 14:00:18 2015 +0100 ghc-7.10.2-1-x86_64 * version bump + add ldconfig file for libs diff --git a/source/devel-extra/ghc/FrugalBuild b/source/devel-extra/ghc/FrugalBuild index cfc7dd3..f4324cf 100644 --- a/source/devel-extra/ghc/FrugalBuild +++ b/source/devel-extra/ghc/FrugalBuild @@ -1,21 +1,20 @@ # Compiling Time: 30.17 SBU # Maintainer: Miklos Vajna <[email protected]> -options+=('asneeded') - pkgname=ghc -pkgver=7.8.3 +pkgver=7.10.2 pkgrel=1 pkgdesc="The Glasgow Haskell Compiler" url="http://www.haskell.org/ghc/" depends=('gmp>=5.0.1' 'readline' 'libedit' 'libffi') -makedepends=('docbook-xsl' 'ghc') +makedepends=('ghc' 'docbook-xsl' 'dblatex' 'texlive-fonts-extra') groups=('devel-extra') archs=('i686' 'x86_64') -up2date="lynx -dump $url/dist/ | sed -n 's/.*dist\/\([0-9].*\)\/.*/\1/p' | tail -1" -source=(http://www.haskell.org/ghc/dist/$pkgver/ghc-$pkgver-src.tar.xz build.mk) -sha1sums=('4d7598f8bff3211708da654ec6dd342a2c95dc58' \ - 'a5e2b8d920a8af597c948f6917c0cfc90f779a22') +_F_archive_grepv="rc" +options=('scriptlet') +up2date="Flastverdir http://downloads.haskell.org/~ghc/" +source=(http://www.haskell.org/ghc/dist/$pkgver/ghc-$pkgver-src.tar.xz) +sha1sums=('288f78841477cead39944c57574a326fc1313fa8') replaces=('haskell-transformers' 'haskell-xhtml' 'haskell-array' 'haskell-binary' 'haskell-containers' 'haskell-deepseq' @@ -26,8 +25,17 @@ provides=("${provides[@]}") build() { _F_conf_notry="build" - cp build.mk $pkgname-$pkgver/mk/build.mk || Fdie Fbuild + + Fmkdir etc/ld.so.conf.d/ + cd $Fdestdir + + for i in $(find usr/lib -name "*.so*" -exec dirname {} \; | sort -u); + do + Fexec echo "/${i}" >> "$Fdestdir/etc/ld.so.conf.d/ghc.conf" || Fdie + + done + } # optimization OK _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
