diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | rules/ptxdist.in | 2 | ||||
-rw-r--r-- | rules/ptxdist.make | 20 |
3 files changed, 22 insertions, 2 deletions
@@ -1,5 +1,7 @@ 2008-01-08 Robert Schwebel <r.schwebel@pengutronix.de> + * ptxdist: streamline installation and fix readlink dependency + on gnu readline. * coreutils: add readlink * ppp: fixed p0 patch level; patch by Gary Thomas. * libpopt: fixed URL diff --git a/rules/ptxdist.in b/rules/ptxdist.in index 691ef2782..86821e7db 100644 --- a/rules/ptxdist.in +++ b/rules/ptxdist.in @@ -1,5 +1,7 @@ config PTXDIST bool + select COREUTILS + select COREUTILS_READLINK prompt "ptxdist" help Guess what ...? diff --git a/rules/ptxdist.make b/rules/ptxdist.make index 1021560b0..ba66591be 100644 --- a/rules/ptxdist.make +++ b/rules/ptxdist.make @@ -120,8 +120,24 @@ $(STATEDIR)/ptxdist.targetinstall: $(ptxdist_targetinstall_deps_default) @$(call install_fixup, ptxdist,DEPENDS,) @$(call install_fixup, ptxdist,DESCRIPTION,missing) - for i in `cd $(PKGDIR)/$(PTXDIST); find . -type f`; do \ - $(call install_copy, ptxdist, 0, 0, 0755, $(PKGDIR)/$(PTXDIST)/$$i, /$$i); \ + $(call install_copy, ptxdist, 0, 0, 0755, \ + $(PKGDIR)/$(PTXDIST)/usr/lib/$(PTXDIST)/bin/ptxdist, \ + /usr/lib/$(PTXDIST)/bin/ptxdist, n) + + $(call install_link, ptxdist, \ + /usr/lib/$(PTXDIST)/bin/ptxdist, \ + /usr/bin/ptxdist) + + $(call install_copy, ptxdist, 0, 0, 0644, \ + $(PKGDIR)/$(PTXDIST)/usr/lib/$(PTXDIST)/.done, \ + /usr/lib/$(PTXDIST)/.done, n) + + for j in patches config plugins generic rules scripts; do \ + for i in `cd $(PKGDIR)/$(PTXDIST)/usr/lib/$(PTXDIST)/$$j; find . -type f`; do \ + $(call install_copy, ptxdist, 0, 0, 0644, \ + $(PKGDIR)/$(PTXDIST)/usr/lib/$(PTXDIST)/$$j/$$i, \ + /usr/lib/$(PTXDIST)/$$j/$$i); \ + done; \ done @$(call install_finish, ptxdist) |