summaryrefslogtreecommitdiff
path: root/ipkg-utils/ipkg-utils_1.6cvs.oe
blob: 54656c772a82d97076b9b25de2954cfe945fc14d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
DESCRIPTION = "Itsy Package Manager utilities"
DEPENDS = ""
SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
LICENSE = "GPL"
CONFLICTS = "ipkg-link"
RDEPENDS = "python"
PV_append = "${CVSDATE}"
PR = "r5"

SRC_URI = "${HANDHELDS_CVS};module=ipkg-utils \
	   file://fix-ipkg-link.patch;patch=1 \
	   file://fix-ipkg-tar.patch;patch=1 "
SRC_URI_append_beagle = " file://fix-ipkg-link-beagle.patch;patch=1 "	   
S = "${WORKDIR}/ipkg-utils"

INSTALL = "ipkg-build ipkg-deb-unbuild ipkg-unbuild ipkg-compare-versions ipkg-upload ipkg-make-index ipkg-link ipkg.py"

do_compile() {
	oe_runmake ipkg-compare-versions
}

do_install() {
	install -d ${D}${bindir}
	for i in ${INSTALL}
	do
		install -m 0755 $i ${D}${bindir}
	done
}

#FIXME: ipkg-utils is not allowed to have packages or else a ipkg-native -> ipkg-utils -> ipkg-utils
#       recursive dependency is triggered. This has been fixed by installing the ipkg-link script in
#       a dedicated package.
#PACKAGES_prepend = "ipkg-link "
#FILES_ipkg-link = "${bindir}/ipkg-link"