3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=51021a036acb92d2bda0c0c0483f9552
10 PKG_SOURCE_URL
:=http
://ftp.debian.org
/debian
/pool
/main
/b
/bwm
11 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).orig.
tar.gz
12 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
).orig
15 include $(TOPDIR
)/package
/rules.mk
17 $(eval
$(call PKG_template
,BWM
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
19 $(PKG_BUILD_DIR
)/.configured
:
22 $(PKG_BUILD_DIR
)/.built
:
23 $(TARGET_CC
) $(TARGET_CFLAGS
) $(PKG_BUILD_DIR
)/bwm.c
-o
$(PKG_BUILD_DIR
)/bwm
27 mkdir
-p
$(IDIR_BWM
)/usr
/bin
28 install -m
755 $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(IDIR_BWM
)/usr
/bin
/
29 $(STRIP
) $(IDIR_BWM
)/usr
/bin
/*
30 $(IPKG_BUILD
) $(IDIR_BWM
) $(PACKAGE_DIR
)