summaryrefslogtreecommitdiff
path: root/package/pcmciautils/Makefile
blob: 1855f3ee6f97c27cd755e1dcffd4813e52bfdf67 (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
30
31
32
33
34
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		pcmciautils
PKG_VERSION:=		018
PKG_RELEASE:=		1
PKG_MD5SUM:=		3c388cb559975b37a75cb5965e9800a9
PKG_DESCR:=		Utilities for PCMCIA subsystem
PKG_SECTION:=		utils
PKG_BUILDDEP:=		sysfsutils
PKG_URL:=		http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html
PKG_SITES:=		http://www.kernel.org/pub/linux/utils/kernel/pcmcia/

PKG_CFLINE_PCMCIAUTILS:=depends on ADK_TARGET_WITH_CARDBUS

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,PCMCIAUTILS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE=		manual

post-install:
	$(INSTALL_DIR) $(IDIR_PCMCIAUTILS)/etc/pcmcia
	$(INSTALL_DATA) ./files/config.opts \
		$(IDIR_PCMCIAUTILS)/etc/pcmcia
	$(INSTALL_DIR) $(IDIR_PCMCIAUTILS)/usr/sbin
	$(INSTALL_BIN) $(WRKINST)/sbin/pccardctl \
		$(IDIR_PCMCIAUTILS)/usr/sbin
	$(INSTALL_BIN) $(WRKINST)/lib/udev/pcmcia-socket-startup \
		$(IDIR_PCMCIAUTILS)/usr/sbin

include ${TOPDIR}/mk/pkg-bottom.mk