View | Details | Raw Unified
Collapse All | Expand All

(-) ipkg-utils/files/ipkg-utils-1.7-build_fixes.patch (-23 lines)
Removed Link Here 
Index: ipkg-utils-1.7/Makefile
===================================================================
+++ ipkg-utils-1.7/Makefile	{local clone}
@@ -1,20 +1,19 @@
 UTILS = ipkg-build ipkg-deb-unbuild ipkg-unbuild ipkg-compare-versions ipkg-upload
 
+PREFIX=/usr
 
 all: build
 
 build: ipkg-compare-versions
 
 ipkg-compare-versions: ipkg-compare-versions.c
 	$(CC) $(CFLAGS) -o ipkg-compare-versions ipkg-compare-versions.c
 
 install: ${UTILS}
+	mkdir -p $(DESTDIR)$(PREFIX)/bin
+	cp ${UTILS} $(DESTDIR)$(PREFIX)/bin
 	chmod agu+rx ipkg-make-index
+	cp -f ipkg-make-index $(DESTDIR)$(PREFIX)/bin
 
 binary: build
 	mkdir -p ipkg-build-binary/usr/bin
(-) ipkg-utils/ipkg-utils-1.7.050831.ebuild (-2 / +1 lines)
 Lines 24-30   DEPEND="dev-lang/python Link Here 
src_unpack() {
src_unpack() {
	unpack ${A}; cd ${S}
	unpack ${A}; cd ${S}
	epatch ${FILESDIR}/${PN}-1.7-build_fixes.patch
	sed '/python setup.py build/d' -i Makefile
	if use minimal; then
	if use minimal; then
		einfo "ipkg-upload is not installed when the \`minimal' USE flag is set.  If you"
		einfo "ipkg-upload is not installed when the \`minimal' USE flag is set.  If you"
 Lines 39-45   src_compile() { Link Here 
src_install() {
src_install() {
	distutils_src_install
	distutils_src_install
	make DESTDIR=${D} install || die
	use minimal && rm ${D}/usr/bin/ipkg-upload
	use minimal && rm ${D}/usr/bin/ipkg-upload
}
}
(-) ipkg-utils/ipkg-utils-1.7.ebuild (-2 / +1 lines)
 Lines 21-27   DEPEND="dev-lang/python Link Here 
src_unpack() {
src_unpack() {
	unpack ${A}; cd ${S}
	unpack ${A}; cd ${S}
	epatch ${FILESDIR}/${P}-build_fixes.patch
	sed '/python setup.py build/d' -i Makefile
	if use minimal; then
	if use minimal; then
		einfo "ipkg-upload is not installed when the \`minimal' USE flag is set.  If you"
		einfo "ipkg-upload is not installed when the \`minimal' USE flag is set.  If you"
 Lines 36-41   src_compile() { Link Here 
src_install() {
src_install() {
	distutils_src_install
	distutils_src_install
	make DESTDIR=${D} install || die
	use minimal && rm ${D}/usr/bin/ipkg-upload
	use minimal && rm ${D}/usr/bin/ipkg-upload
}
}