fix svn patch breakage in glib
[openwrt.git] / obsolete-buildroot / sources / openwrt / ipkg / kmod-ppp-async / CONTROL / rules
1 #!/usr/bin/make -f
2
3 ifeq ($(strip $(TOPDIR)),)
4 TOPDIR := $(shell pwd)/../../../..
5 endif
6
7
8 PACKAGE := kmod-ppp-async
9
10 MY_INSTALL_DIR := /tmp/$(PACKAGE)
11
12
13 build:
14
15
16 install:
17         rm -rf $(MY_INSTALL_DIR)
18         install -m0755 -d $(MY_INSTALL_DIR)/lib/
19         bzcat $(TOPDIR)/openwrt-kmodules.tar.bz2 | tar -C $(MY_INSTALL_DIR)/lib/ -xvf - \
20          modules/2.4.20/kernel/drivers/net/ppp_async.o \
21          
22         mv -f \
23          $(MY_INSTALL_DIR)/lib/modules/2.4.20/kernel/drivers/net/ppp_async.o \
24          $(MY_INSTALL_DIR)/lib/modules/2.4.20/
25          
26         rm -rf \
27          $(MY_INSTALL_DIR)/lib/modules/2.4.20/kernel
28
29
30 clean:
31