Root/golded/Makefile

Source at commit 1b3135c created 8 years 11 months ago.
By Xiangfu Liu, new package: SDL-widgets: a GUI toolkit on top of the SDL libraries
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:=golded
8PKG_VERSION:=115-20110223
9PKG_RELEASE:=1
10    
11PKG_SOURCE:=gps$(PKG_VERSION).tar.bz2
12PKG_SOURCE_URL:=@SF/golded-plus/Golded%2B%201.1.5%20snapshots
13PKG_MD5SUM:=6a1d63e7a39ced6e9907e2c8b8e1e666
14
15include $(INCLUDE_DIR)/package.mk
16
17PKG_UNPACK:=bzip2 -c -d $(DL_DIR)/$(PKG_SOURCE) | $(TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xf -
18
19define Package/golded
20    TITLE:=Fidonet Mail Reader/Editor
21    SECTION:=utilities
22    CATEGORY:=Utilities
23    URL:=http://sourceforge.net/projects/golded-plus
24    DEPENDS:=+libncursesw
25endef
26
27define Build/Prepare
28    $(call Build/Prepare/Default)
29    $(CP) $(PKG_BUILD_DIR)/golded3/mygolded.__h $(PKG_BUILD_DIR)/golded3/mygolded.h
30endef
31
32define Package/golded/description
33    This is a successor of the well-known GoldED Fidonet Mail Reader/Editor.
34endef
35
36MAKE_FLAGS+=WIDE_NCURSES=1 PLATFORM=lnx
37MAKE_VARS+=LNKFLAGS="-Wl,-rpath-link=$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/usr/lib"
38TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/include/ncursesw
39
40define Package/golded/install
41    $(INSTALL_DIR) $(1)/usr/bin
42    $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/{gedlnx,gnlnx,golded,rddtlnx} $(1)/usr/bin/
43endef
44
45$(eval $(call BuildPackage,golded))
46

Archive Download this file



interactive