Change Details
| hnb/Makefile |
| 1 | include $(TOPDIR)/rules.mk |
| 2 | |
| 3 | PKG_NAME:=hnb |
| 4 | PKG_VERSION:=1.9.17 |
| 5 | |
| 6 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
| 7 | PKG_SOURCE_URL:=@SF/$(PKG_NAME) |
| 8 | |
| 9 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
| 10 | |
| 11 | PKG_INSTALL:=1 |
| 12 | |
| 13 | include $(INCLUDE_DIR)/package.mk |
| 14 | |
| 15 | define Package/hnb |
| 16 | TITLE:=hnb |
| 17 | SECTION:=utils |
| 18 | CATEGORY:=Utilities |
| 19 | DEPENDS:=+libncurses |
| 20 | URL:=http://hnb.sourceforge.net/ |
| 21 | endef |
| 22 | |
| 23 | define Package/hnb/description |
| 24 | Powerfull outline editor/notebook for text console. |
| 25 | endef |
| 26 | |
| 27 | define Build/Configure |
| 28 | $(call Build/Compile/Default, \ |
| 29 | CFLAGS="-I$(STAGING_DIR)/usr/include -I. -I./src -I./src/libcli -I./libcli -I$(PKG_BUILD_DIR) -DHAVE_CONFIG_H " \ |
| 30 | LIBS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib libcli/libcli.a -lm -lncurses" \ |
| 31 | ) |
| 32 | endef |
| 33 | |
| 34 | |
| 35 | |
| 36 | define Package/hnb/install |
| 37 | $(INSTALL_DIR) $(1)/usr/bin |
| 38 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/hnb $(1)/usr/bin/ |
| 39 | endef |
| 40 | |
| 41 | $(eval $(call BuildPackage,hnb)) |
| hnb/patches/Makefile-hnb.patch |
| 1 | --- hnb-1.9.17/Makefile 2003-03-10 03:22:23.000000000 +0100 |
| 2 | @@ -2,8 +2,8 @@ |
| 3 | src/hnb: src/*.c src/*.h src/*.inc src/hnbrc.inc |
| 4 | (cd src;make) |
| 5 | install: src/hnb |
| 6 | - install -D src/hnb /usr/local/bin/hnb |
| 7 | - install -D -m444 doc/hnb.1 /usr/local/man/man1/hnb.1 |
| 8 | + #install -D src/hnb /usr/bin/hnb |
| 9 | + #install -D -m444 doc/hnb.1 /usr/man/man1/hnb.1 |
| 10 | clean: |
| 11 | (cd src;make clean) |
| 12 | (cd util;make clean) |
Download the corresponding diff file