mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-23 11:51:05 +02:00
add dependencies from the NEEDS variable to ipkg/control
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3831 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3830e0d317
commit
05294ec63e
@ -134,7 +134,8 @@ define BuildPackage
|
|||||||
mkdir -p $$(IDIR_$(1))/CONTROL
|
mkdir -p $$(IDIR_$(1))/CONTROL
|
||||||
echo "Package: $(1)" > $$(IDIR_$(1))/CONTROL/control
|
echo "Package: $(1)" > $$(IDIR_$(1))/CONTROL/control
|
||||||
echo "Version: $(VERSION)" >> $$(IDIR_$(1))/CONTROL/control
|
echo "Version: $(VERSION)" >> $$(IDIR_$(1))/CONTROL/control
|
||||||
echo "Depends: $$(IDEPEND_$(1))" >> $$(IDIR_$(1))/CONTROL/control
|
#FIXME: there should be a better way to do it
|
||||||
|
D="$$(IDEPEND_$(1))"; D="$$$${D}$$$${D:+, }$$(INEED_$(1))"; echo "Depends: $$$${D}" >> $$(IDIR_$(1))/CONTROL/control
|
||||||
echo "Source: $(SOURCE)" >> $$(IDIR_$(1))/CONTROL/control
|
echo "Source: $(SOURCE)" >> $$(IDIR_$(1))/CONTROL/control
|
||||||
echo "Section: $(SECTION)" >> $$(IDIR_$(1))/CONTROL/control
|
echo "Section: $(SECTION)" >> $$(IDIR_$(1))/CONTROL/control
|
||||||
echo "Priority: $(PRIORITY)" >> $$(IDIR_$(1))/CONTROL/control
|
echo "Priority: $(PRIORITY)" >> $$(IDIR_$(1))/CONTROL/control
|
||||||
|
Loading…
x
Reference in New Issue
Block a user