OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
1 | # |
2 | # This is free software, licensed under the GNU General Public License v2. |
3 | # See /LICENSE for more information. |
4 | |
5 | include $(TOPDIR)/rules.mk |
6 | |
7 | PKG_NAME:=binkd |
8 | PKG_VERSION:=1.0a |
9 | PKG_RELEASE:=1 |
10 | |
11 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
12 | PKG_SOURCE_URL:=:pserver:binkd@cvs.happy.kiev.ua:/cvs |
13 | PKG_SOURCE_VERSION:=-D"2008/04/01 20:58:42" |
14 | PKG_SOURCE_SUBDIR:=binkd |
15 | PKG_SOURCE_PROTO:=cvs |
16 | |
17 | include $(INCLUDE_DIR)/package.mk |
18 | |
19 | PKG_UNPACK:=gzip -dc $(DL_DIR)/$(PKG_SOURCE) | $(TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xf - |
20 | |
21 | define Package/binkd |
22 | TITLE:=Fidonet mailer |
23 | SECTION:=utilities |
24 | CATEGORY:=Utilities |
25 | URL:=http://binkd.grumbler.org |
26 | DEPENDS:=+zlib +bzip2 |
27 | endef |
28 | |
29 | define Build/Prepare |
30 | $(call Build/Prepare/Default) |
31 | (cd $(PKG_BUILD_DIR) && $(CP) mkfls/unix/* .) |
32 | endef |
33 | |
34 | CONFIGURE_ARGS += \ |
35 | --with-zlib="$(STAGING_DIR)/usr" \ |
36 | --with-bzip2="$(STAGING_DIR)/usr" |
37 | |
38 | define Package/binkd/install |
39 | $(INSTALL_DIR) $(1)/usr/bin |
40 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/binkd $(1)/usr/bin/ |
41 | endef |
42 | |
43 | $(eval $(call BuildPackage,binkd)) |
44 |