summaryrefslogtreecommitdiff
path: root/package/sysvinit/Makefile
blob: f87f5d3a1158144c16b156edf0c3d9ae9167e092 (plain)
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
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		sysvinit
PKG_VERSION:=		2.88dsf
PKG_RELEASE:=		1
PKG_HASH:=		60bbc8c1e1792056e23761d22960b30bb13eccc2cabff8c7310a01f4d5df1519
PKG_DESCR:=		systemV init
PKG_SECTION:=		base/init
PKG_URL:=		http://savannah.nongnu.org/projects/sysvinit
PKG_SITES:=		http://download.savannah.gnu.org/releases/sysvinit/

DISTFILES:=             $(PKG_NAME)-$(PKG_VERSION).tar.bz2

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,SYSVINIT,sysvinit,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))

CONFIG_STYLE:=		manual
FAKE_FLAGS+=		ROOT='$(WRKINST)'

sysvinit-install:
	$(INSTALL_DIR) $(IDIR_SYSVINIT)/sbin
	$(INSTALL_BIN) $(WRKINST)/sbin/init \
		$(IDIR_SYSVINIT)/sbin

include $(ADK_TOPDIR)/mk/pkg-bottom.mk