summaryrefslogtreecommitdiffstats
path: root/meta/packages/ipkg/ipkg.inc
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-03-17 13:19:22 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-03-17 13:19:22 +0000
commitc00661591a921f28b0a697b3dcfe2f34877bf528 (patch)
tree7d2c2e535b73c902210934f9ba16c094ace7dfa8 /meta/packages/ipkg/ipkg.inc
parent2d1abf5e74e1f37005a307c6f660f78a589e015f (diff)
downloadpoky-c00661591a921f28b0a697b3dcfe2f34877bf528.tar.gz
ipkg: dropped
Signed-off-by: Marcin Juszkiewicz <hrw@openedhand.com> git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4030 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/ipkg/ipkg.inc')
-rw-r--r--meta/packages/ipkg/ipkg.inc60
1 files changed, 0 insertions, 60 deletions
diff --git a/meta/packages/ipkg/ipkg.inc b/meta/packages/ipkg/ipkg.inc
deleted file mode 100644
index e1c544057e..0000000000
--- a/meta/packages/ipkg/ipkg.inc
+++ /dev/null
@@ -1,60 +0,0 @@
1DESCRIPTION = "Itsy Package Manager"
2DESCRIPTION_libipkg = "Itsy Package Manager Library"
3SECTION = "base"
4LICENSE = "GPL"
5PROVIDES = "virtual/ipkg libipkg"
6
7FILES_libipkg-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so ${includedir}"
8FILES_libipkg = "${libdir}/*.so.*"
9AUTO_LIBNAME_PKGS = "libipkg"
10
11SRC_URI = "${HANDHELDS_CVS};module=familiar/dist/ipkg;tag=${@'V' + bb.data.getVar('PV',d,1).replace('.', '-')} \
12 file://fix_tar_extension.patch;patch=1 \
13 file://update_version_comparision.patch;patch=1 \
14 file://enable_debversion.patch;patch=1 \
15 file://terse.patch;patch=1 \
16 file://ipkg_bugfix.patch;patch=1 \
17 file://noupdalt.patch;patch=1"
18
19S = "${WORKDIR}/ipkg/C"
20
21inherit autotools pkgconfig
22
23# Define a variable to allow distros to run configure earlier.
24# (for example, to enable loading of ethernet kernel modules before networking starts)
25IPKG_INIT_POSITION = "98"
26IPKG_INIT_POSITION_slugos = "41"
27
28pkg_postinst_ipkg () {
29#!/bin/sh
30if [ "x$D" != "x" ]; then
31 install -d ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d
32 # this happens at S98 where our good 'ole packages script used to run
33 echo "#!/bin/sh
34ipkg-cl configure
35" > ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${IPKG_INIT_POSITION}configure
36 chmod 0755 ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S${IPKG_INIT_POSITION}configure
37fi
38
39update-alternatives --install ${bindir}/ipkg ipkg ${bindir}/ipkg-cl 100
40}
41
42pkg_postrm_ipkg () {
43#!/bin/sh
44update-alternatives --remove ipkg ${bindir}/ipkg-cl
45}
46
47do_stage() {
48 oe_libinstall -so libipkg ${STAGING_LIBDIR}
49 install -d ${STAGING_INCDIR}/replace/
50 install -m 0644 replace/replace.h ${STAGING_INCDIR}/replace/
51 install -d ${STAGING_INCDIR}/libipkg/
52 for f in *.h
53 do
54 install -m 0644 $f ${STAGING_INCDIR}/libipkg/
55 done
56}
57
58#
59# FIXME: Install /etc/ipkg.conf and /etc/ipkg/arch.conf
60#