2005-04-04 22:12:17 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=bwm
|
|
|
|
PKG_VERSION:=1.1.0
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_MD5SUM:=51021a036acb92d2bda0c0c0483f9552
|
|
|
|
|
|
|
|
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/b/bwm
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).orig
|
|
|
|
PKG_CAT:=zcat
|
|
|
|
|
2005-05-12 19:14:25 +00:00
|
|
|
include $(TOPDIR)/package/rules.mk
|
2005-04-04 22:12:17 +00:00
|
|
|
|
2005-05-12 19:14:25 +00:00
|
|
|
$(eval $(call PKG_template,BWM,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
2005-04-04 22:12:17 +00:00
|
|
|
|
2005-05-12 19:14:25 +00:00
|
|
|
$(PKG_BUILD_DIR)/.built:
|
2005-04-04 22:12:17 +00:00
|
|
|
$(TARGET_CC) $(TARGET_CFLAGS) $(PKG_BUILD_DIR)/bwm.c -o $(PKG_BUILD_DIR)/bwm
|
2005-05-12 19:14:25 +00:00
|
|
|
touch $@
|
2005-04-04 22:12:17 +00:00
|
|
|
|
2005-05-12 19:14:25 +00:00
|
|
|
$(IPKG_BWM):
|
|
|
|
mkdir -p $(IDIR_BWM)/usr/bin
|
|
|
|
install -m 755 $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_BWM)/usr/bin/
|
|
|
|
$(STRIP) $(IDIR_BWM)/usr/bin/*
|
|
|
|
$(IPKG_BUILD) $(IDIR_BWM) $(PACKAGE_DIR)
|
2005-04-04 22:12:17 +00:00
|
|
|
|