3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=08fcc5f6bb9e7676a2569386d5ea9f70
10 PKG_SOURCE_URL
:=http
://efault.net
/npat
/hacks
/picocom
/dist/
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,PICOCOM
,picocom
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.built
:
22 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
23 $(TARGET_CONFIGURE_OPTS
) \
24 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
25 CFLAGS
="$(TARGET_CFLAGS) -L$(STAGING_DIR)/usr/lib" \
30 install -d
-m0755
$(IDIR_PICOCOM
)/usr
/bin
31 install -m0755
$(PKG_BUILD_DIR
)/picocom
$(IDIR_PICOCOM
)/usr
/bin
/
32 $(RSTRIP
) $(IDIR_PICOCOM
)
33 $(IPKG_BUILD
) $(IDIR_PICOCOM
) $(PACKAGE_DIR
)