3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=61ec646daf7795e9777e8f33975408fe
10 PKG_SOURCE_URL
:=ftp
://ftp.kernel.org
/pub
/linux
/utils
/kernel
/hotplug
/ \
11 http
://ftp.kernel.org
/pub
/linux
/utils
/kernel
/hotplug
/ \
12 ftp
://ftp.de.kernel.org
/pub
/linux
/utils
/kernel
/hotplug
/ \
13 http
://ftp.de.kernel.org
/pub
/linux
/utils
/kernel
/hotplug
/ \
14 ftp
://ftp.fr.kernel.org
/pub
/linux
/utils
/kernel
/hotplug
/ \
15 http
://ftp.fr.kernel.org
/pub
/linux
/utils
/kernel
/hotplug
/
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
19 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
21 include $(TOPDIR
)/package
/rules.mk
23 $(eval
$(call PKG_template
,UDEV
,udev
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
25 $(PKG_BUILD_DIR
)/.configured
:
28 $(PKG_BUILD_DIR
)/.built
:
29 rm -rf
$(PKG_INSTALL_DIR
)
30 mkdir
-p
$(PKG_INSTALL_DIR
)
31 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
32 CROSS
="$(TARGET_CROSS)" \
34 OPTFLAGS
="$(TARGET_CFLAGS)" \
35 DESTDIR
="$(PKG_INSTALL_DIR)" \
40 install -d
-m0775
$(IDIR_UDEV
)/etc
/udev
41 $(CP
) $(PKG_INSTALL_DIR
)/etc
/udev
/* $(IDIR_UDEV
)/etc
/udev
/
42 install -d
-m0775
$(IDIR_UDEV
)/lib
/udev
43 install -d
-m0775
$(IDIR_UDEV
)/sbin
/
44 $(CP
) $(PKG_INSTALL_DIR
)/sbin
/udev
$(IDIR_UDEV
)/sbin
/
45 $(CP
) $(PKG_INSTALL_DIR
)/sbin
/udevcontrol
$(IDIR_UDEV
)/sbin
/
46 $(CP
) $(PKG_INSTALL_DIR
)/sbin
/udevd
$(IDIR_UDEV
)/sbin
/
47 $(CP
) $(PKG_INSTALL_DIR
)/sbin
/udevsend
$(IDIR_UDEV
)/sbin
/
48 $(CP
) $(PKG_INSTALL_DIR
)/sbin
/udevstart
$(IDIR_UDEV
)/sbin
/
49 install -d
-m0775
$(IDIR_UDEV
)/usr
/bin
/
50 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/udevinfo
$(IDIR_UDEV
)/usr
/bin
/
51 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/udevtest
$(IDIR_UDEV
)/usr
/bin
/
52 install -d
-m0775
$(IDIR_UDEV
)/usr
/sbin
/
53 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/udevmonitor
$(IDIR_UDEV
)/usr
/sbin
/
54 $(RSTRIP
) $(IDIR_UDEV
)
55 $(IPKG_BUILD
) $(IDIR_UDEV
) $(PACKAGE_DIR
)
58 -$(MAKE
) -C
$(PKG_BUILD_DIR
) clean
59 rm -f
$(PKG_BUILD_DIR
)/.built