mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-30 05:39:56 +02:00
development/darcs: Updated for version 2.5.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
22615f3820
commit
8299166290
4 changed files with 75 additions and 47 deletions
|
@ -6,7 +6,7 @@
|
|||
# Public domain.
|
||||
|
||||
PRGNAM=darcs
|
||||
VERSION=${VERSION:-2.5.1}
|
||||
VERSION=${VERSION:-2.5.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -54,11 +54,10 @@ find . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# Lift upper bound on parsec3 dependency
|
||||
patch -p0 <$CWD/darcs_cabal_parsec.patch
|
||||
|
||||
# Link darcs binary dynamically
|
||||
patch -p0 <$CWD/darcs_cabal_dynamic.patch
|
||||
# Bump regex-{posix,compat} version bounds (all tests pass)
|
||||
patch -p0 <$CWD/darcs_cabal_regex.patch
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
@ -100,4 +99,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
|
|||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="darcs"
|
||||
VERSION="2.5.1"
|
||||
VERSION="2.5.2"
|
||||
HOMEPAGE="http://darcs.net/"
|
||||
DOWNLOAD="http://darcs.net/releases/darcs-2.5.1.tar.gz"
|
||||
MD5SUM="247151771f6dd39db697c586069cb1c9"
|
||||
DOWNLOAD="http://hackage.haskell.org/packages/archive/darcs/2.5.2/darcs-2.5.2.tar.gz"
|
||||
MD5SUM="491b6ca01dec245a16112ad2c7e07dc1"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Mikko Värri"
|
||||
EMAIL="vmj@linuxbox.fi"
|
||||
APPROVED="Niels Horn"
|
||||
APPROVED="rworkman"
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
--- darcs.cabal.orig 2011-02-11 23:36:22.000000000 +0200
|
||||
+++ darcs.cabal 2011-02-11 23:37:16.000000000 +0200
|
||||
@@ -172,7 +172,7 @@
|
||||
extensible-exceptions >= 0.1 && < 0.2,
|
||||
regex-compat >= 0.71 && < 0.94,
|
||||
mtl >= 1.0 && < 2.1,
|
||||
- parsec >= 2.0 && < 3.1,
|
||||
+ parsec >= 2.0 && < 3.2,
|
||||
html == 1.0.*,
|
||||
filepath >= 1.1.0.0 && < 1.3.0.0,
|
||||
haskeline >= 0.6.2.2 && < 0.7,
|
||||
@@ -377,7 +377,7 @@
|
||||
extensible-exceptions >= 0.1 && < 0.2,
|
||||
regex-compat >= 0.71 && < 0.94,
|
||||
mtl >= 1.0 && < 2.1,
|
||||
- parsec >= 2.0 && < 3.1,
|
||||
+ parsec >= 2.0 && < 3.2,
|
||||
html == 1.0.*,
|
||||
filepath >= 1.1.0.0 && < 1.3.0.0,
|
||||
haskeline >= 0.6.2.2 && < 0.7,
|
||||
@@ -525,7 +525,7 @@
|
||||
extensible-exceptions >= 0.1 && < 0.2,
|
||||
regex-compat >= 0.71 && < 0.94,
|
||||
mtl >= 1.0 && < 2.1,
|
||||
- parsec >= 2.0 && < 3.1,
|
||||
+ parsec >= 2.0 && < 3.2,
|
||||
html == 1.0.*,
|
||||
filepath >= 1.1.0.0 && < 1.3.0.0,
|
||||
haskeline >= 0.6.2.2 && < 0.7,
|
||||
@@ -621,7 +621,7 @@
|
||||
extensible-exceptions >= 0.1 && < 0.2,
|
||||
regex-compat >= 0.71 && < 0.94,
|
||||
mtl >= 1.0 && < 2.1,
|
||||
- parsec >= 2.0 && < 3.1,
|
||||
+ parsec >= 2.0 && < 3.2,
|
||||
html == 1.0.*,
|
||||
filepath >= 1.1.0.0 && < 1.3.0.0,
|
||||
QuickCheck >= 2.1.0.0,
|
68
development/darcs/darcs_cabal_regex.patch
Normal file
68
development/darcs/darcs_cabal_regex.patch
Normal file
|
@ -0,0 +1,68 @@
|
|||
--- darcs.cabal.orig 2011-05-31 11:46:05.441999585 +0300
|
||||
+++ darcs.cabal 2011-05-31 11:47:59.589999593 +0300
|
||||
@@ -170,11 +170,11 @@
|
||||
cpp-options: -DWIN32
|
||||
c-sources: src/win32/send_email.c
|
||||
build-depends: unix-compat >= 0.1.2,
|
||||
- regex-posix >= 0.94.4 && < 0.95
|
||||
+ regex-posix >= 0.94.4 && <= 0.95.1
|
||||
|
||||
build-depends: base < 5,
|
||||
extensible-exceptions >= 0.1 && < 0.2,
|
||||
- regex-compat >= 0.71 && < 0.94,
|
||||
+ regex-compat >= 0.71 && <= 0.95.1,
|
||||
mtl >= 1.0 && < 2.1,
|
||||
parsec >= 2.0 && < 3.2,
|
||||
html == 1.0.*,
|
||||
@@ -372,14 +372,14 @@
|
||||
cpp-options: -DWIN32
|
||||
c-sources: src/win32/send_email.c
|
||||
build-depends: unix-compat >= 0.1.2,
|
||||
- regex-posix >= 0.94.4 && < 0.95
|
||||
+ regex-posix >= 0.94.4 && <= 0.95.1
|
||||
|
||||
if os(solaris)
|
||||
cc-options: -DHAVE_SIGINFO_H
|
||||
|
||||
build-depends: base < 5,
|
||||
extensible-exceptions >= 0.1 && < 0.2,
|
||||
- regex-compat >= 0.71 && < 0.94,
|
||||
+ regex-compat >= 0.71 && <= 0.95.1,
|
||||
mtl >= 1.0 && < 2.1,
|
||||
parsec >= 2.0 && < 3.2,
|
||||
html == 1.0.*,
|
||||
@@ -522,14 +522,14 @@
|
||||
cpp-options: -DWIN32
|
||||
c-sources: src/win32/send_email.c
|
||||
build-depends: unix-compat >= 0.1.2,
|
||||
- regex-posix >= 0.94.4 && < 0.95
|
||||
+ regex-posix >= 0.94.4 && <= 0.95.1
|
||||
|
||||
if os(solaris)
|
||||
cc-options: -DHAVE_SIGINFO_H
|
||||
|
||||
build-depends: base < 5,
|
||||
extensible-exceptions >= 0.1 && < 0.2,
|
||||
- regex-compat >= 0.71 && < 0.94,
|
||||
+ regex-compat >= 0.71 && <= 0.95.1,
|
||||
mtl >= 1.0 && < 2.1,
|
||||
parsec >= 2.0 && < 3.2,
|
||||
html == 1.0.*,
|
||||
@@ -625,7 +625,7 @@
|
||||
|
||||
build-depends: base < 5,
|
||||
extensible-exceptions >= 0.1 && < 0.2,
|
||||
- regex-compat >= 0.71 && < 0.94,
|
||||
+ regex-compat >= 0.71 && <= 0.95.1,
|
||||
mtl >= 1.0 && < 2.1,
|
||||
parsec >= 2.0 && < 3.2,
|
||||
html == 1.0.*,
|
||||
@@ -678,7 +678,7 @@
|
||||
cpp-options: -DWIN32
|
||||
c-sources: src/win32/send_email.c
|
||||
build-depends: unix-compat >= 0.1.2,
|
||||
- regex-posix >= 0.94.4 && < 0.95
|
||||
+ regex-posix >= 0.94.4 && <= 0.95.1
|
||||
|
||||
if os(solaris)
|
||||
cc-options: -DHAVE_SIGINFO_H
|
Loading…
Reference in a new issue