diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2008-01-08 20:42:42 +0000 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2008-01-08 20:42:42 +0000 |
commit | 264e89ee488c6e1ac135faebd6e4ad3ded1fb3ba (patch) | |
tree | 0079c3c86f709e9990b0da40875d01c2a48383e0 | |
parent | 2f0c381863a46c2c16f1818ec26e024882108322 (diff) | |
download | ptxdist-264e89ee488c6e1ac135faebd6e4ad3ded1fb3ba.tar.gz ptxdist-264e89ee488c6e1ac135faebd6e4ad3ded1fb3ba.tar.xz |
* ptxdist: streamline installation and fix readlink dependency
on gnu readline.
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7702 33e552b5-05e3-0310-8538-816dae2090ed
-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) |