add zaptel-libtonezone (closes: #1095), thanks to zandbelt
[openwrt/svn-archive/archive.git] / libs / zaptel / patches / 110-Makefile-tonezone_install.patch
1 --- zaptel-1.2.12.org/Makefile 2006-12-07 00:22:11.000000000 +0100
2 +++ zaptel-1.2.12/Makefile 2006-12-23 00:12:30.000000000 +0100
3 @@ -357,6 +357,16 @@
4 /sbin/update-modules ; \
5 fi
6
7 +install-tonezone: $(LIBTONEZONE_SO)
8 + install -D -m 755 $(LIBTONEZONE_SO) $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER)
9 + rm -f $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO)
10 + ln -sf $(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) \
11 + $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER)
12 + ln -sf $(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) \
13 + $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO)
14 + install -D -m 644 zaptel.h $(INSTALL_PREFIX)/usr/include/linux/zaptel.h
15 + install -D -m 644 tonezone.h $(INSTALL_PREFIX)/usr/include/tonezone.h
16 +
17 install-udev: devices
18
19 firmware: