eee3504622
SVN-Revision: 32374
53 lines
1.0 KiB
Makefile
53 lines
1.0 KiB
Makefile
#
|
|
# 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))
|