amule: updated to 2.2.4
This commit is contained in:
parent
c1c2768e6e
commit
11e05f8cbf
@ -1,2 +1 @@
|
||||
64a0d41edbdd7cf36fa892e45a652bfd aMule-2.2.3.tar.bz2
|
||||
9eeb21301dfb9f046d3d2956cf818629 amule-2.2.3-configure.patch
|
||||
283c428dd2961a57f2691c455c845a42 aMule-2.2.4.tar.bz2
|
||||
|
@ -5,14 +5,13 @@
|
||||
# Depends on: wxgtk, crypto++
|
||||
|
||||
name=amule
|
||||
version=2.2.3
|
||||
version=2.2.4
|
||||
release=1
|
||||
source=(http://download.berlios.de/amule/aMule-$version.tar.bz2
|
||||
$name-$version-configure.patch)
|
||||
source=(http://download.berlios.de/amule/aMule-$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd aMule-$version
|
||||
patch -p0 -i $SRC/$name-$version-configure.patch
|
||||
# patch -p0 -i $SRC/$name-$version-configure.patch
|
||||
export CFLAGS="${CFLAGS//-fstack-protector/}"
|
||||
export CXXFLAGS="${CXXFLAGS//-fstack-protector/}"
|
||||
./configure --prefix=/usr \
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- configure~ 2009-04-02 22:09:33.000000000 +0300
|
||||
+++ configure 2009-04-02 22:09:44.000000000 +0300
|
||||
@@ -8451,7 +8451,7 @@
|
||||
|
||||
# Find out the crypto++ version and check against the minimum required
|
||||
cryptopp_header_path="${cryptopp_includedir+$cryptopp_includedir/}$CRYPTOPP_INCLUDE_PREFIX/$cryptopp_file_with_version"
|
||||
- CRYPTOPP_VERSION_STRING=`grep "Reference Manual" $cryptopp_header_path | sed -e 's/[^0-9]*\([0-9.]*\).*/\1/'`
|
||||
+ CRYPTOPP_VERSION_STRING=`grep "API Reference" $cryptopp_header_path | sed -e 's/[^0-9]*\([0-9.]*\).*/\1/'`
|
||||
CRYPTOPP_VERSION_NUMBER=`echo $CRYPTOPP_VERSION_STRING | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
|
||||
minvers=`echo 5.1 | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
|
||||
|
Loading…
x
Reference in New Issue
Block a user