packages: pearize.sh - special tweats for PEAR package

glen glen at pld-linux.org
Fri Aug 20 14:53:02 CEST 2010


Author: glen                         Date: Fri Aug 20 12:53:02 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- special tweats for PEAR package

---- Files affected:
packages:
   pearize.sh (1.47 -> 1.48) 

---- Diffs:

================================================================
Index: packages/pearize.sh
diff -u packages/pearize.sh:1.47 packages/pearize.sh:1.48
--- packages/pearize.sh:1.47	Fri Aug 20 14:43:36 2010
+++ packages/pearize.sh	Fri Aug 20 14:52:57 2010
@@ -77,7 +77,20 @@
 add_epoch() {
 	local dep="$@"
 	local pkg="$1"
+	local qual="$2"
 	local ver="$3"
+
+	if [ "$pkg" == "php-pear-PEAR" ]; then
+		pkg="php-pear-PEAR-core"
+	fi
+
+	case "$pkg" in
+	php-pear-PEAR-core)
+		ver=$(echo "$ver" | sed -e 's,1.4.0b1,1.4.0-0.b1,')
+		;;
+	esac
+
+	dep="$pkg $qual $ver"
 
 	# already have epoch
 	if [[ "$ver" = *:* ]]; then
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pearize.sh?r1=1.47&r2=1.48&f=u



More information about the pld-cvs-commit mailing list