Browse files

fix libpng compilation, bump version

  • Loading branch information...
1 parent f0b306a commit 16e4f8df4a37908731c33d4860afa77f2821267b @mpapis mpapis committed Apr 13, 2012
Showing with 7 additions and 10 deletions.
  1. +1 −1 libpng/config/defaults
  2. +0 −7 libpng/config/md5
  3. +6 −2 libpng/shell/functions
View
2 libpng/config/defaults
@@ -1 +1 @@
-version=1.2.39
+version=1.5.10
View
7 libpng/config/md5
@@ -1,7 +0,0 @@
-#
-# The format for this file is:
-#
-# ${downloaded file name}=${md5 sum}
-#
-# For example,
-#bash-4.2.tar.gz=3fb927c7c33022f1c327f14a81c0d4b0
View
8 libpng/shell/functions
@@ -2,7 +2,11 @@
libpng_initialize()
{
+ typeset _v
+ _v=$package_version
+ _v=${_v%.*}
+ _v=${_v/./}
+
package define \
- base_url="http://surfnet.dl.sourceforge.net/project/libpng/00-libpng-stable/$version"
+ base_url "http://downloads.sourceforge.net/project/libpng/libpng${_v}/$package_version"
}
-

0 comments on commit 16e4f8d

Please sign in to comment.