disable openssl stuff in asterisk
[openwrt.git] / package / templates.mk
1 # $(call PKG_template,EXAMPLE,example,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
2 define PKG_template
3
4 IPKG_$(1):=$(PACKAGE_DIR)/$(2)_$(3)_$(4).ipk
5 IDIR_$(1):=$(PKG_BUILD_DIR)/ipkg/$(2)
6 INFO_$(1):=$(IPKG_STATE_DIR)/info/$(2).list
7
8 PKG_FILES += $$(IPKG_$(1))
9 ifneq ($(BR2_PACKAGE_$(1)),)
10 COMPILE_TARGETS += $$(IPKG_$(1))
11 endif
12 ifeq ($(BR2_PACKAGE_$(1)),y)
13 INSTALL_TARGETS += $$(INFO_$(1))
14 endif
15
16 $$(IDIR_$(1))/CONTROL/control: $(PKG_BUILD_DIR)/.prepared
17 $(SCRIPT_DIR)/make-ipkg-dir.sh $$(IDIR_$(1)) ./ipkg/$(2).control $(3) $(4)
18
19 $$(INFO_$(1)): $$(IPKG_$(1))
20 $(IPKG) install $$(IPKG_$(1))
21
22 endef
This page took 0.043218 seconds and 5 git commands to generate.