nmap: bump version to 6.47
[openwrt.org/packages.git] / skels / Makefile.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# 
# Copyright (C) 2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# This Makefile is a skeleton
#
 
include $(TOPDIR)/rules.mk
 
PKG_NAME:=
PKG_VERSION:=
 
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=
PKG_MD5SUM:=
 
include $(INCLUDE_DIR)/package.mk
 
define Package/package
  SECTION:=net
  CATEGORY:=Network
  TITLE:=package
  URL:=
endef
 
define Package/package/description
endef
 
# add extra configure flags here
CONFIGURE_ARGS += \
        --enable-static \
        --enable-shared
 
# add make variable overrides here
MAKE_FLAGS +=
 
define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/* $(1)/
endef
 
define Package/package/install
        $(INSTALL_DIR) $(1)/usr/package
        $(CP) $(PKG_INSTALL_DIR)/usr/package/package.so.* $(1)/usr/package/
        $(INSTALL_DIR) $(1)/etc/init.d
        $(INSTALL_BIN) ./files/package.init $(1)/etc/init.d/package
        $(INSTALL_DIR) $(1)/etc/config/
        $(INSTALL_CONF) $(1)/etc/config/package
endef
 
$(eval $(call BuildPackage,package))
 
comments