just build polipo, not all info and html docs, mark polipo.conf as a conffile
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8807 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
691cf238d2
commit
df217952d1
@ -36,15 +36,18 @@ define Build/Compile
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
CC="$(TARGET_CC)" \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
all
|
||||
polipo
|
||||
endef
|
||||
|
||||
define Package/polipo/conffiles
|
||||
/etc/polipo/polipo.conf
|
||||
endef
|
||||
|
||||
define Package/polipo/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
|
||||
$(INSTALL_DIR) $(1)/var/cache/$(PKG_NAME)
|
||||
$(INSTALL_DIR) $(1)/etc/$(PKG_NAME)
|
||||
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config.sample $(1)/etc/$(PKG_NAME)/$(PKG_NAME).conf
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/polipo $(1)/usr/sbin/
|
||||
$(INSTALL_DIR) $(1)/etc/polipo
|
||||
$(INSTALL_CONF) $(PKG_BUILD_DIR)/config.sample $(1)/etc/polipo/polipo.conf
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,polipo))
|
||||
|
Loading…
x
Reference in New Issue
Block a user