3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=0d6d65be8896eff081aee996049afaa5
10 PKG_SOURCE_URL
:=@SF
/$(PKG_NAME
)
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,PCMCIA_UTILS
,pcmcia-utils
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
22 ( cd
$(PKG_BUILD_DIR
); \
25 --kernel
="$(LINUX_DIR)" \
26 --target
="$(PKG_INSTALL_DIR)" \
28 --ucc
="$(TARGET_CC)" \
29 --uflags
="$(TARGET_CFLAGS)" \
36 --sysv
--rcdir
="/etc" \
40 $(PKG_BUILD_DIR
)/.built
:
41 rm -rf
$(PKG_INSTALL_DIR
)
42 mkdir
-p
$(PKG_INSTALL_DIR
)
43 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
44 CFLAGS
="$(TARGET_CFLAGS)" \
49 install -m0755
-d
$(IDIR_PCMCIA_UTILS
)/etc
50 cp
-fpR
$(PKG_INSTALL_DIR
)/etc
/pcmcia
$(IDIR_PCMCIA_UTILS
)/etc
/
51 install -m0755
-d
$(IDIR_PCMCIA_UTILS
)/usr
/sbin
52 cp
-fpR
$(PKG_INSTALL_DIR
)/sbin
/cardctl
$(IDIR_PCMCIA_UTILS
)/usr
/sbin
/
53 cp
-fpR
$(PKG_INSTALL_DIR
)/sbin
/cardmgr
$(IDIR_PCMCIA_UTILS
)/usr
/sbin
/
54 $(RSTRIP
) $(IDIR_PCMCIA_UTILS
)
55 $(IPKG_BUILD
) $(IDIR_PCMCIA_UTILS
) $(PACKAGE_DIR
)