Recipes: Replace ipkg-utils with opkg-utils
authorKhem Raj <raj.khem@gmail.com>
Tue, 25 Jan 2011 00:53:32 +0000 (16:53 -0800)
committerKhem Raj <raj.khem@gmail.com>
Wed, 26 Jan 2011 00:45:41 +0000 (16:45 -0800)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Graham Gower <graham.gower@gmail.com>
recipes/blueprobe/files/blueprobe-svn-Makefile.patch
recipes/gpe-today/files/Makefile.dpkg_ipkg
recipes/gpe-today/files/Makefile.translation
recipes/libxsettings/files/Makefile.dpkg_ipkg
recipes/libxsettings/files/Makefile.translation
recipes/masqmail/masqmail_0.2.21.bb
recipes/meta/canadian-sdk.bb
recipes/meta/meta-toolchain.bb
recipes/meta/nylon-feed.bb
recipes/xserver-common/files/Makefile.dpkg_ipkg
recipes/xserver-common/files/Makefile.translation

index b51b465..a6d4f24 100644 (file)
@@ -99,7 +99,7 @@ diff -Naur blueprobe.orig/Makefile.dpkg_ipkg blueprobe/Makefile.dpkg_ipkg
 +      if test -e familiar/postrm;    then install familiar/postrm    familiar/dist/CONTROL; fi
 +      $(MAKE) DESTDIR=`pwd`/familiar/dist PREFIX=/usr prefix=/usr DEBUG=no install-program
 +      rm -rf familiar/dist.list
-+      ipkg-build -o 0 -g 0 familiar/dist | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> familiar/dist.list
++      opkg-build -o 0 -g 0 familiar/dist | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> familiar/dist.list
 +      if [ "x$(LINGUAS)" != "x" ]; then make translation-ipkg; tr ' ' '\n' < translation-ipkgs.txt >> familiar/dist.list; fi
 +      md5sum `cat familiar/dist.list` > $(PACKAGE)_$(VERSION).batch
 +      rm -rf familiar/dist familiar/dist.list
@@ -146,7 +146,7 @@ diff -Naur blueprobe.orig/Makefile.translation blueprobe/Makefile.translation
 +CONTROL = `if test -e familiar/control1; then echo control1; else echo control; fi`
 +
 +# use ipkg-build or ipkg-deb-build
-+IPKG_BUILD := ipkg-build
++IPKG_BUILD := opkg-build
 +
 +TRANSLATION_SITE := http://www.iro.umontreal.ca/~gnutra/maint
 +
index 978b08d..ebf41fe 100644 (file)
@@ -74,7 +74,7 @@ ipkg: check-source ipkg-prep clean
        if test -e familiar/postrm;    then install familiar/postrm    familiar/dist/CONTROL; fi
        $(MAKE) DESTDIR=`pwd`/familiar/dist PREFIX=/usr prefix=/usr DEBUG=no install-program
        rm -rf familiar/dist.list
-       ipkg-build -o 0 -g 0 familiar/dist | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> familiar/dist.list
+       opkg-build -o 0 -g 0 familiar/dist | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> familiar/dist.list
        if [ "x$(LINGUAS)" != "x" ]; then make translation-ipkg; tr ' ' '\n' < translation-ipkgs.txt >> familiar/dist.list; fi
        md5sum `cat familiar/dist.list` > $(PACKAGE)_$(VERSION).batch
        rm -rf familiar/dist familiar/dist.list
index 1ca7d64..6ce30b4 100644 (file)
@@ -2,8 +2,8 @@
 
 CONTROL = `if test -e familiar/control1; then echo control1; else echo control; fi`
 
-# use ipkg-build or ipkg-deb-build
-IPKG_BUILD := ipkg-build
+# use opkg-build or opkg-deb-build
+IPKG_BUILD := opkg-build
 
 TRANSLATION_SITE := http://www.iro.umontreal.ca/~gnutra/maint
 
index 76c5321..771ed8b 100644 (file)
@@ -74,7 +74,7 @@ ipkg: check-source ipkg-prep clean
        if test -e familiar/postrm;    then install familiar/postrm    familiar/dist/CONTROL; fi
        $(MAKE) DESTDIR=`pwd`/familiar/dist PREFIX=/usr prefix=/usr DEBUG=no install-program
        rm -rf familiar/dist.list
-       ipkg-build -o 0 -g 0 familiar/dist | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> familiar/dist.list
+       opkg-build -o 0 -g 0 familiar/dist | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> familiar/dist.list
        if [ "x$(LINGUAS)" != "x" ]; then make translation-ipkg; tr ' ' '\n' < translation-ipkgs.txt >> familiar/dist.list; fi
        md5sum `cat familiar/dist.list` > $(PACKAGE)_$(VERSION).batch
        rm -rf familiar/dist familiar/dist.list
index 1ca7d64..6ce30b4 100644 (file)
@@ -2,8 +2,8 @@
 
 CONTROL = `if test -e familiar/control1; then echo control1; else echo control; fi`
 
-# use ipkg-build or ipkg-deb-build
-IPKG_BUILD := ipkg-build
+# use opkg-build or opkg-deb-build
+IPKG_BUILD := opkg-build
 
 TRANSLATION_SITE := http://www.iro.umontreal.ca/~gnutra/maint
 
index 94a742d..e632239 100644 (file)
@@ -25,7 +25,7 @@ MAIL_GROUP ?= "mail"
 EXTRA_OECONF += "--with-user=$(id -u)"
 EXTRA_OECONF += "--with-group=$(id -g)"
 
-IPKGBUILDCMD = "ipkg-build -o ${MAIL_USER} -g ${MAIL_GROUP}"
+OPKGBUILDCMD = "opkg-build -o ${MAIL_USER} -g ${MAIL_GROUP}"
 
 SRC_URI[md5sum] = "7e989a8b0562054aea22c654507f2cb5"
 SRC_URI[sha256sum] = "2257099c760c12daf094744c6b2269d476e3bc6b523366168ad81bdd2ebd2445"
index 93b80b2..0d914f7 100644 (file)
@@ -91,7 +91,7 @@ do_populate_sdk() {
                        if [ -e $pkgnames ]; then
                                oenote "Found $pkgnames"
                                cp $pkgnames ${SDK_OUTPUT}/${prefix}/ipk/
-                               orig_pkg=`ipkg-list-fields $pkgnames | grep OE: | cut -d ' ' -f2`
+                               orig_pkg=`opkg-list-fields $pkgnames | grep OE: | cut -d ' ' -f2`
                                pkg_subdir=$arch${TARGET_VENDOR}${@['-' + bb.data.getVar('TARGET_OS', d, 1), ''][bb.data.getVar('TARGET_OS', d, 1) == ('' or 'custom')]}
                                mkdir -p ${SDK_OUTPUT}/${prefix}/pkgdata/$pkg_subdir/runtime
                                cp ${STAGING_DIR}/pkgdata/$pkg_subdir/$orig_pkg ${SDK_OUTPUT}/${prefix}/pkgdata/$pkg_subdir/
index b8ea037..3462b2c 100644 (file)
@@ -96,7 +96,7 @@ do_populate_sdk() {
                        if [ -e $pkgnames ]; then
                                oenote "Found $pkgnames"
                                cp $pkgnames ${SDK_OUTPUT2}/${SDKPATH}/ipk/
-                               orig_pkg=`ipkg-list-fields $pkgnames | grep OE: | cut -d ' ' -f2`
+                               orig_pkg=`opkg-list-fields $pkgnames | grep OE: | cut -d ' ' -f2`
                                pkg_subdir=$arch${TARGET_VENDOR}${@['-' + bb.data.getVar('TARGET_OS', d, 1), ''][bb.data.getVar('TARGET_OS', d, 1) == ('' or 'custom')]}
                                mkdir -p ${SDK_OUTPUT2}/${SDKPATH}/pkgdata/$pkg_subdir/runtime
                                cp ${TMPDIR}/pkgdata/$pkg_subdir/$orig_pkg ${SDK_OUTPUT2}/${SDKPATH}/pkgdata/$pkg_subdir/
index d5759ae..d68f5f8 100644 (file)
@@ -39,7 +39,7 @@ RDEPENDS = "${NYLON_FEED} \
 
 do_index() {
        touch ${DEPLOY_DIR_IPK}/Packages
-       ipkg-make-index -r ${DEPLOY_DIR_IPK}/Packages -p ${DEPLOY_DIR_IPK}/Packages -l ${DEPLOY_DIR_IPK}/Packages.filelist -m ${DEPLOY_DIR_IPK}
+       opkg-make-index -r ${DEPLOY_DIR_IPK}/Packages -p ${DEPLOY_DIR_IPK}/Packages -l ${DEPLOY_DIR_IPK}/Packages.filelist -m ${DEPLOY_DIR_IPK}
 }
 
 addtask index before do_build after do_install
index 76c5321..771ed8b 100644 (file)
@@ -74,7 +74,7 @@ ipkg: check-source ipkg-prep clean
        if test -e familiar/postrm;    then install familiar/postrm    familiar/dist/CONTROL; fi
        $(MAKE) DESTDIR=`pwd`/familiar/dist PREFIX=/usr prefix=/usr DEBUG=no install-program
        rm -rf familiar/dist.list
-       ipkg-build -o 0 -g 0 familiar/dist | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> familiar/dist.list
+       opkg-build -o 0 -g 0 familiar/dist | sed 's/^Packaged .*into //; t 1; d; : 1; s:.*/::' >> familiar/dist.list
        if [ "x$(LINGUAS)" != "x" ]; then make translation-ipkg; tr ' ' '\n' < translation-ipkgs.txt >> familiar/dist.list; fi
        md5sum `cat familiar/dist.list` > $(PACKAGE)_$(VERSION).batch
        rm -rf familiar/dist familiar/dist.list
index 1ca7d64..6ce30b4 100644 (file)
@@ -2,8 +2,8 @@
 
 CONTROL = `if test -e familiar/control1; then echo control1; else echo control; fi`
 
-# use ipkg-build or ipkg-deb-build
-IPKG_BUILD := ipkg-build
+# use opkg-build or opkg-deb-build
+IPKG_BUILD := opkg-build
 
 TRANSLATION_SITE := http://www.iro.umontreal.ca/~gnutra/maint