summaryrefslogtreecommitdiff
path: root/packages/cpio
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cpio')
-rw-r--r--packages/cpio/cpio_2.5.bb33
-rw-r--r--packages/cpio/files/install.patch61
2 files changed, 0 insertions, 94 deletions
diff --git a/packages/cpio/cpio_2.5.bb b/packages/cpio/cpio_2.5.bb
deleted file mode 100644
index c21a59a44a..0000000000
--- a/packages/cpio/cpio_2.5.bb
+++ /dev/null
@@ -1,33 +0,0 @@
-DESCRIPTION = "GNU cpio is a program to manage archives of files."
-HOMEPAGE = "http://www.gnu.org/software/cpio/"
-SECTION = "console"
-LICENSE = "GPL"
-PR = "r4"
-
-DEPENDS += " texinfo-native "
-
-SRC_URI = "${GNU_MIRROR}/cpio/cpio-${PV}.tar.gz \
- file://install.patch;patch=1"
-S = "${WORKDIR}/cpio-${PV}"
-
-inherit autotools
-
-do_install () {
- autotools_do_install
- install -d ${D}${base_bindir}/
- mv ${D}${bindir}/cpio ${D}${base_bindir}/cpio.${PN}
- mv ${D}${libexecdir}/rmt ${D}${libexecdir}/rmt.${PN}
-}
-
-
-pkg_postinst_${PN} () {
- update-alternatives --install ${base_bindir}/cpio cpio cpio.${PN} 100
- update-alternatives --install ${libexecdir}/rmt rmt rmt.${PN} 50
-}
-
-
-pkg_prerm_${PN} () {
- update-alternatives --remove cpio cpio.${PN}
- update-alternatives --remove rmt rmt.${PN}
-}
-
diff --git a/packages/cpio/files/install.patch b/packages/cpio/files/install.patch
deleted file mode 100644
index 3554156ffc..0000000000
--- a/packages/cpio/files/install.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- cpio-2.5/Makefile.in~install.patch
-+++ cpio-2.5/Makefile.in
-@@ -70,6 +70,7 @@
- # Prefix for each installed man page, normally empty or `g'.
- manprefix =
-
-+DESTDIR =
-
- # Where to install the cpio and mt executables.
- bindir = @bindir@
-@@ -123,19 +124,19 @@
- $(CC) -c $(CPPFLAGS) $(DEFS) -I$(srcdir) $(CFLAGS) $<
-
- install:: installdirs all $(srcdir)/cpio.1 $(srcdir)/mt.1
-- $(INSTALL_PROGRAM) cpio $(bindir)/$(binprefix)cpio
-- test ! -f mt || $(INSTALL_PROGRAM) mt $(bindir)/$(binprefix)mt
-- -test ! -f rmt || $(INSTALL_PROGRAM) rmt $(libexecdir)/rmt
-- -$(INSTALL_DATA) $(srcdir)/cpio.1 $(mandir)/$(manprefix)cpio.$(manext)
-- -test ! -f mt || $(INSTALL_DATA) $(srcdir)/mt.1 $(mandir)/$(manprefix)mt.$(manext)
-+ $(INSTALL_PROGRAM) -D cpio $(DESTDIR)$(bindir)/$(binprefix)cpio
-+ test ! -f mt || $(INSTALL_PROGRAM) -D mt $(DESTDIR)$(bindir)/$(binprefix)mt
-+ -test ! -f rmt || $(INSTALL_PROGRAM) -D rmt $(DESTDIR)$(libexecdir)/rmt
-+ -$(INSTALL_DATA) -D $(srcdir)/cpio.1 $(DESTDIR)$(mandir)/$(manprefix)cpio.$(manext)
-+ -test ! -f mt || $(INSTALL_DATA) -D $(srcdir)/mt.1 $(DESTDIR)$(mandir)/$(manprefix)mt.$(manext)
-
- installdirs:
-- $(srcdir)/mkinstalldirs $(bindir) $(libexecdir) $(mandir) $(infodir)
-+ $(srcdir)/mkinstalldirs $(DESTDIR)/$(bindir) $(DESTDIR)/$(libexecdir) $(DESTDIR)/$(mandir) $(DESTDIR)/$(infodir)
-
- uninstall::
-- cd $(bindir); rm -f $(binprefix)cpio $(binprefix)mt
-- -rm -f $(libexecdir)/rmt
-- cd $(mandir); rm -f $(manprefix)cpio.$(manext) $(manprefix)mt.$(manext)
-+ cd $(DESTDIR)$(bindir); rm -f $(binprefix)cpio $(binprefix)mt
-+ -rm -f $(DESTDIR)$(libexecdir)/rmt
-+ cd $(DESTDIR)$(mandir); rm -f $(manprefix)cpio.$(manext) $(manprefix)mt.$(manext)
-
- check:
- @echo No tests are supplied.
-@@ -186,14 +187,14 @@
-
- install-info: $(INFO_DEPS)
- for file in *.info*; do \
-- $(INSTALL_DATA) $$file $(infodir)/$$file; \
-+ $(INSTALL_DATA) -D $$file $(DESTDIR)$(infodir)/$$file; \
- done
-
- uninstall:: uninstall-info
-
- uninstall-info:
- for file in *.info*; do \
-- rm -f $(infodir)/$$file; \
-+ rm -f $(DESTDIR)$(infodir)/$$file; \
- done
-
- clean: