3 include $(TOPDIR
)/rules.mk
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
15 include $(TOPDIR
)/package
/rules.mk
17 define Package
/pcmcia-cs
21 TITLE
:=PCMCIA
/Cardbus management utilities
22 DESCRIPTION
:=PCMCIA
/Cardbus management utilities
23 URL
:=http
://pcmcia-cs.sourceforge.net
/
26 define Build
/Configure
27 ( cd
$(PKG_BUILD_DIR
); \
30 --kernel
="$(LINUX_DIR)" \
31 --target
="$(PKG_INSTALL_DIR)" \
33 --ucc
="$(TARGET_CC)" \
34 --uflags
="$(TARGET_CFLAGS)" \
41 --sysv
--rcdir
="/etc" \
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
/
53 $(eval
$(call BuildPackage
,pcmcia-cs
))