Root/binkd/Makefile

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

Archive Download this file



interactive