Date:2011-05-20 01:53:35 (9 years 18 days ago)
Author:Neil Stockbridge
Commit:b9ee6f408797be212968af5f6aada9c08490aba9
Message:There is now a libncurses-dev package

Files: libncurses-dev/Makefile (1 diff)

Change Details

libncurses-dev/Makefile
1# Copyright (C) 2008 OpenWrt.org
2#
3# This is free software, licensed under the GNU General Public License v2.
4#
5
6include $(TOPDIR)/rules.mk
7
8PKG_NAME:=libncurses-dev
9PKG_VERSION:=5.7
10PKG_RELEASE:=1
11
12NCURSES_BUILD_DIR:=$(BUILD_DIR)/ncurses-$(PKG_VERSION)
13
14include $(INCLUDE_DIR)/package.mk
15
16define Package/libncurses-dev
17  TITLE:=Files required to develop with ncurses
18  SECTION:=development
19  CATEGORY:=Development
20  URL:=http://www.gnu.org/software/ncurses/ncurses.html
21  DEPENDS:=+libncurses
22endef
23
24define Package/libncurses-dev/description
25  Header files needed to compile ncurses programs along with man pages for the API
26endef
27
28# There is nothing to compile:
29define Build/Compile
30endef
31
32define Package/libncurses-dev/install
33    $(INSTALL_DIR) \
34        $(1)/usr/include \
35        $(1)/usr/share/man/man3
36
37    $(INSTALL_DATA) \
38        $(NCURSES_BUILD_DIR)/include/*.h \
39        $(1)/usr/include
40
41    $(INSTALL_DATA) \
42        $(NCURSES_BUILD_DIR)/man/*.3x \
43        $(1)/usr/share/man/man3
44
45    rename "s/\\.3x/.3/" $(1)/usr/share/man/man3/*.3x
46endef
47
48$(eval $(call BuildPackage,libncurses-dev))

Archive Download the corresponding diff file



interactive