replace $(IDIR_*) with $(1)
[openwrt.git] / package / pcmcia-cs / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=pcmcia-cs
6 PKG_VERSION:=3.2.8
7 PKG_RELEASE:=1
8
9 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
10 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
11 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
12 PKG_MD5SUM:=0d6d65be8896eff081aee996049afaa5
13 PKG_CAT:=zcat
14
15 include $(TOPDIR)/package/rules.mk
16
17 define Package/pcmcia-cs
18 SECTION:=base
19 # CATEGORY:=FIXME
20 DEFAULT:=n
21 TITLE:=PCMCIA/Cardbus management utilities
22 DESCRIPTION:=PCMCIA/Cardbus management utilities
23 URL:=http://pcmcia-cs.sourceforge.net/
24 endef
25
26 define Build/Configure
27 ( cd $(PKG_BUILD_DIR); \
28 ./Configure \
29 --noprompt \
30 --kernel="$(LINUX_DIR)" \
31 --target="$(PKG_INSTALL_DIR)" \
32 --arch="$(ARCH)" \
33 --ucc="$(TARGET_CC)" \
34 --uflags="$(TARGET_CFLAGS)" \
35 --srctree \
36 --cardbus \
37 --noapm \
38 --nopnp \
39 --notrust \
40 --nox11 \
41 --sysv --rcdir="/etc" \
42 )
43 endef
44
45 define Package/pcmcia-cs/install
46 install -m0755 -d $(1)/etc
47 install -m0755 -d $(1)/usr/sbin
48 install -m0644 $(PKG_INSTALL_DIR)/etc/pcmcia $(1)/etc/
49 install -m0755 $(PKG_INSTALL_DIR)/sbin/cardctl $(1)/usr/sbin/
50 install -m0755 $(PKG_INSTALL_DIR)/sbin/cardmgr $(1)/usr/sbin/
51 endef
52
53 $(eval $(call BuildPackage,pcmcia-cs))
This page took 0.06298 seconds and 5 git commands to generate.