fix defaults/depends for httping menuconfig
[openwrt.git] / openwrt / package / picocom / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=picocom
6 PKG_VERSION:=1.4
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=08fcc5f6bb9e7676a2569386d5ea9f70
9
10 PKG_SOURCE_URL:=http://efault.net/npat/hacks/picocom/dist/
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
16
17 include $(TOPDIR)/package/rules.mk
18
19 $(eval $(call PKG_template,PICOCOM,picocom,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21 $(PKG_BUILD_DIR)/.configured:
22 touch $@
23
24 $(PKG_BUILD_DIR)/.built:
25 $(MAKE) -C $(PKG_BUILD_DIR) \
26 $(TARGET_CONFIGURE_OPTS) \
27 CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
28 CFLAGS="$(TARGET_CFLAGS) -L$(STAGING_DIR)/usr/lib" \
29 picocom
30 touch $@
31
32 $(IPKG_PICOCOM):
33 install -d -m0755 $(IDIR_PICOCOM)/usr/bin
34 install -m0755 $(PKG_BUILD_DIR)/picocom $(IDIR_PICOCOM)/usr/bin/
35 $(RSTRIP) $(IDIR_PICOCOM)
36 $(IPKG_BUILD) $(IDIR_PICOCOM) $(PACKAGE_DIR)
This page took 0.046122 seconds and 5 git commands to generate.