remove UninstallDev
authorFelix Fietkau <nbd@openwrt.org>
Tue, 25 Dec 2007 01:59:55 +0000 (01:59 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 25 Dec 2007 01:59:55 +0000 (01:59 +0000)
SVN-Revision: 9907

121 files changed:
lang/egenix-mx/Makefile
lang/lua/Makefile
lang/python/Makefile
lang/urbi/Makefile
libs/alsa-lib/Makefile
libs/apr-util/Makefile
libs/apr/Makefile
libs/avahi/Makefile
libs/axtls/Makefile
libs/bluez-libs/Makefile
libs/cgilib/Makefile
libs/clearsilver/Makefile
libs/clinkc/Makefile
libs/curl/Makefile
libs/cyrus-sasl/Makefile
libs/db/Makefile
libs/dbus-glib/Makefile
libs/expat/Makefile
libs/fcgi/Makefile
libs/file/Makefile
libs/flac/Makefile
libs/freetype/Makefile
libs/gd/Makefile
libs/gdbm/Makefile
libs/gettext/Makefile
libs/glib/Makefile
libs/glib2/Makefile
libs/gnutls/Makefile
libs/gsm/Makefile
libs/howl/Makefile
libs/id3lib/Makefile
libs/iksemel/Makefile
libs/jpeg/Makefile
libs/libaio/Makefile
libs/libamsel/Makefile
libs/libao/Makefile
libs/libart/Makefile
libs/libatomicops/Makefile
libs/libaudiofile/Makefile
libs/libbfd/Makefile
libs/libcli/Makefile
libs/libdaemon/Makefile
libs/libdnet/Makefile
libs/libdvbpsi4/Makefile
libs/libelf/Makefile
libs/libevent/Makefile
libs/libexif/Makefile
libs/libffi-sable/Makefile
libs/libgcrypt/Makefile
libs/libgpg-error/Makefile
libs/libgphoto2/Makefile
libs/libgssapi/Makefile
libs/libiconv/Makefile
libs/libid3tag/Makefile
libs/libmad/Makefile
libs/libmcrypt/Makefile
libs/libmpcdec/Makefile
libs/libmpd/Makefile
libs/libnet-1.0.x/Makefile
libs/libnet-1.1.x/Makefile
libs/libnfnetlink/Makefile
libs/libnfsidmap/Makefile
libs/libnids/Makefile
libs/libnotimpl/Makefile
libs/liboil/Makefile
libs/libol/Makefile
libs/libosip2/Makefile
libs/libpam/Makefile
libs/libpng/Makefile
libs/libreadline/Makefile
libs/librpcsecgss/Makefile
libs/librsync/Makefile
libs/libsamplerate/Makefile
libs/libsigc++/Makefile
libs/libsndfile/Makefile
libs/libtasn1/Makefile
libs/libtorrent/Makefile
libs/libupnp/Makefile
libs/libusb/Makefile
libs/libvorbisidec/Makefile
libs/libxml2/Makefile
libs/libxslt/Makefile
libs/lzo/Makefile
libs/matrixssl/Makefile
libs/mysql/Makefile
libs/neon/Makefile
libs/net-snmp/Makefile
libs/nmeap/Makefile
libs/opal/Makefile
libs/opencdk/Makefile
libs/openh323/Makefile
libs/openldap/Makefile
libs/pcre/Makefile
libs/popt/Makefile
libs/postgresql/Makefile
libs/ptlib/Makefile
libs/pwlib/Makefile
libs/radiusclient-ng/Makefile
libs/rrdtool-1.0.x/Makefile
libs/serdisplib/Makefile
libs/speex/Makefile
libs/sqlite2/Makefile
libs/sqlite3/Makefile
libs/taglib/Makefile
libs/tcp_wrappers/Makefile
libs/uclibc++/Makefile
libs/ustl/Makefile
libs/wxbase/Makefile
libs/xyssl/Makefile
libs/zaptel/Makefile
net/apache/Makefile
net/asterisk/Makefile
net/cups/Makefile
net/gpsd/Makefile
sound/flite/Makefile
utils/bzip2/Makefile
utils/dbus/Makefile
utils/ntfs-3g/Makefile
utils/pciutils/Makefile
utils/rrdtool/Makefile
utils/sysfsutils/Makefile

index 3f894ee..e75f3c1 100644 (file)
@@ -82,10 +82,6 @@ define Build/InstallDev
                $(1)$(PYTHON_PKG_DIR)/mx/Tools/mxTools/
 endef
 
-define Build/UninstallDev
-       rm -rf $(STAGING_DIR)$(PYTHON_PKG_DIR)/mx
-endef
-
 define PyPackage/python-egenix-mx/install
        $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
        $(CP) $(PKG_BUILD_DIR)/foo/mx $(1)$(PYTHON_PKG_DIR)/
index 2365762..1c2d230 100644 (file)
@@ -117,13 +117,6 @@ define Build/InstallDev
        ln -sf liblua.so.$(PKG_VERSION) $(1)/usr/lib/liblualib.so
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/lua{,lib,conf}.h \
-               $(STAGING_DIR)/usr/include/lauxlib.h \
-               $(STAGING_DIR)/usr/lib/liblua.{a,so*}
-endef
-
 define Package/liblua/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblua.so.* $(1)/usr/lib/
index 7115a75..67c84ed 100644 (file)
@@ -150,15 +150,6 @@ define Build/InstallDev
                $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(1)/usr/bin/hostpython \
-               $(1)/usr/bin/python \
-               $(1)/usr/include/python$(PYTHON_VERSION) \
-               $(1)/usr/lib/python$(PYTHON_VERSION) \
-               $(1)/usr/lib/libpython$(PYTHON_VERSION).a
-endef
-
 define PyPackage/python/filespec
 +|/usr/bin/python$(PYTHON_VERSION)
 +|/usr/lib/python$(PYTHON_VERSION)
index 929d3da..8e3aaf0 100644 (file)
@@ -51,10 +51,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/liburbi* $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf $(STAGING_DIR)/usr/include/urbi
-endef
-
 define Package/urbi/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
index aaf1fef..7c5386b 100644 (file)
@@ -66,12 +66,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/alsa.pc $(1)/usr/lib/pkgconfig/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/alsa \
-               $(STAGING_DIR)/usr/lib/libasound.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/alsa.pc
-endef
-
 define Package/alsa-lib/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libasound.so.* $(1)/usr/lib/
index 7dbd66c..d734f84 100644 (file)
@@ -70,13 +70,6 @@ define Build/InstallDev
        $(SED) 's,-R$$$$libdir,,g' $(2)/bin/apu-1-config
 endef
 
-define Build/UninstallDev
-       rm -rf  $(2)/bin/apu-1-config \
-               $(1)/usr/include/apr-1 \
-               $(1)/usr/lib/libaprutil-1.{a,so*} \
-               $(1)/usr/lib/pkgconfig/apr-util-1.pc
-endef
-
 define Package/libaprutil/install      
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libaprutil-1.so.* $(1)/usr/lib/
index 98bc022..09700e9 100644 (file)
@@ -75,14 +75,6 @@ define Build/InstallDev
        $(SED) 's,/usr/share/build-1,$(1)/usr/share/build-1,g' $(1)/usr/share/build-1/apr_rules.mk
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/bin/apr-1-config \
-               $(STAGING_DIR)/usr/include/apr-1 \
-               $(STAGING_DIR)/usr/lib/libapr-1.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/apr-1.pc \
-               $(STAGING_DIR)/usr/share/build-1
-endef
-
 define Package/libapr/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libapr-1.so.* $(1)/usr/lib/
index b601d90..1bca39c 100644 (file)
@@ -158,12 +158,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/avahi-core.pc $(1)/usr/lib/pkgconfig/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/avahi-{common,core} \
-               $(STAGING_DIR)/usr/lib/libavahi-{common,core}.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/avahi-core.pc
-endef
-
 define Package/libavahi/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libavahi-{common,core}.so.* $(1)/usr/lib/
index 80621cf..c7937dd 100644 (file)
@@ -58,12 +58,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libaxtls.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/axTLS \
-               $(STAGING_DIR)/usr/lib/libaxtls.{a,so*}
-endef
-
 define Package/libaxtls/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libaxtls.so.* $(1)/usr/lib/
index 3d36253..48f62ff 100644 (file)
@@ -50,13 +50,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/bluez.pc $(1)/usr/lib/pkgconfig/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/bluetooth \
-               $(STAGING_DIR)/usr/lib/libbluetooth.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/bluez.pc
-endef
-
 define Package/bluez-libs/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libbluetooth.so.* $(1)/usr/lib/
index 76836c3..3ac1f5f 100644 (file)
@@ -43,12 +43,6 @@ define Build/InstallDev
        mkdir -p $(1)/usr/lib
        $(CP) $(PKG_BUILD_DIR)/libcgi.{a,so*} $(1)/usr/lib/
 endef
-       
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/cgi.h \
-               $(STAGING_DIR)/usr/lib/libcgi.{a,so*}
-endef
 
 define Package/cgilib/install
        $(INSTALL_DIR) $(1)/usr/lib
index 841cb5a..e1f6ba1 100644 (file)
@@ -93,15 +93,6 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/cgi/cs_static.cgi $(1)/usr/bin/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/ClearSilver \
-               $(STAGING_DIR)/usr/lib/libneo_* \
-               $(STAGING_DIR)/usr/bin/cs \
-               $(STAGING_DIR)/usr/bin/cstest \
-               $(STAGING_DIR)/usr/bin/cs_static.cgi
-endef
-
 define Package/clearsilver/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/libs/libneo_cs.a $(1)/usr/lib/
index 5fd5c69..665b351 100644 (file)
@@ -51,9 +51,4 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libclinkc.a $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/cybergarage \
-               $(STAGING_DIR)/usr/lib/libclinkc.a
-endef
-
 $(eval $(call BuildPackage/libclinkc))
index 5195405..987e524 100644 (file)
@@ -94,13 +94,6 @@ define Build/InstallDev
        ln -sf $(1)/usr/bin/curl-config $(2)/bin/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/bin/curl-config \
-               $(STAGING_DIR)/usr/include/curl \
-               $(STAGING_DIR)/usr/lib/libcurl.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/libcurl.pc
-endef
-
 define Package/curl/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/curl $(1)/usr/bin/
index d35221c..6cc5111 100644 (file)
@@ -96,12 +96,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/sasl2/lib*.{a,so*} $(1)/usr/lib/sasl2/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/sasl \
-               $(STAGING_DIR)/usr/lib/libsasl{2,}.{a,so*} \
-               $(STAGING_DIR)/usr/lib/sasl2
-endef
-
 define Package/libsasl2/install
        $(INSTALL_DIR) $(1)/usr/lib/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsasl2.so.* $(1)/usr/lib/
index 2079c54..9542af7 100644 (file)
@@ -95,10 +95,4 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdb*.{a,so} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/db.h \
-               $(STAGING_DIR)/usr/lib/libdb*.{a,so}
-endef
-
 $(eval $(call BuildPackage,libdb))
index 77f4d2b..829cddc 100644 (file)
@@ -63,14 +63,6 @@ define Build/InstallDev
                $(1)/usr/lib/pkgconfig/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/dbus-1.0/dbus/dbus-glib{,-error-enum,-lowlevel}.h \
-               $(STAGING_DIR)/usr/include/dbus-1.0/dbus/dbus-gtype-specialized.h \
-               $(STAGING_DIR)/usr/lib/libdbus-glib-1.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/dbus-glib-1.pc
-endef
-
-
 define Package/libdbus-glib/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdbus-glib-1.so.* $(1)/usr/lib/
index ba47bf6..ab646cb 100644 (file)
@@ -54,12 +54,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libexpat.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/expat{,_external}.h \
-               $(STAGING_DIR)/usr/lib/libexpat.{a,so*}
-endef
-
-
 define Package/libexpat/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libexpat.so.* $(1)/usr/lib/
index 9bf5bbb..8103707 100644 (file)
@@ -60,12 +60,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfcgi.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/fastcgi.h \
-               $(STAGING_DIR)/usr/include/fcgi{app,_config,misc,io,ios,_stdio}.h \
-               $(STAGING_DIR)/usr/lib/libfcgi.{a,so*}
-endef
-
 define Package/fcgi/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/cgi-fcgi $(1)/usr/bin/
index 11dea6f..3192591 100644 (file)
@@ -63,12 +63,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmagic.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/magic.h \
-               $(STAGING_DIR)/usr/lib/libmagic.{a,so*}
-endef
-
 define Package/libmagic/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmagic.so.* $(1)/usr/lib/
index cd86888..e84c147 100644 (file)
@@ -44,12 +44,6 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/obj/release/lib/libFLAC.{a,so} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/FLAC \
-               $(STAGING_DIR)/usr/lib/libFLAC.{a,so}
-endef
-
 define Package/libflac/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_BUILD_DIR)/obj/release/lib/libFLAC.so $(1)/usr/lib/
index 05cb215..c9f0339 100644 (file)
@@ -62,14 +62,6 @@ define Build/InstallDev
        $(SED) 's,/usr/include/freetype2/,$(1)/usr/include/freetype2/,g' $(2)/bin/freetype-config
 endef
 
-define Build/UninstallDev
-       rm -rf  $(2)/bin/freetype-config \
-               $(1)/usr/include/freetype2 \
-               $(1)/usr/include/ft2build.h \
-               $(1)/usr/lib/libfreetype.{a,so*} \
-               $(1)/usr/lib/pkgconfig/freetype2.pc
-endef
-
 define Package/libfreetype/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libfreetype.so.* $(1)/usr/lib/
index 1c4a130..cc8e859 100644 (file)
@@ -62,14 +62,6 @@ define Build/InstallDev
        $(SED) 's,-I$$$${prefix}/include,,g' $(1)/usr/bin/gdlib-config
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/bin/gdlib-config \
-               $(STAGING_DIR)/usr/include/entities.h \
-               $(STAGING_DIR)/usr/include/gd{,_io,cache,fontg,fontl,fontmb,fonts,fontt,fx}.h \
-               $(STAGING_DIR)/usr/lib/libgd.{a,so*}
-endef
-
 define Package/libgd/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgd.so.* $(1)/usr/lib/
index d2edf67..84983cd 100644 (file)
@@ -51,11 +51,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgdbm.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/gdbm.h \
-               $(STAGING_DIR)/usr/lib/libgdbm.{a,so*}
-endef
-
 define Package/libgdbm/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgdbm.so.* $(1)/usr/lib/
index bd9a330..a3c9479 100644 (file)
@@ -56,10 +56,6 @@ define Build/InstallDev
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libintl.{a,so*} $(1)/usr/lib/libintl/lib/
 endef
 
-define Build/UninstallDev      
-       rm -rf  $(STAGING_DIR)/usr/lib/libintl
-endef
-
 define Package/libintl/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libintl.so.* $(1)/usr/lib/
index 90f7009..9dc5ebf 100644 (file)
@@ -74,15 +74,6 @@ define Build/InstallDev
        $(SED) 's,-L$$$${exec_prefix}/lib,,g' $(1)/usr/bin/glib-config
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/bin/glib-config \
-               $(STAGING_DIR)/usr/include/glib-1.2 \
-               $(STAGING_DIR)/usr/lib/libg{lib,module,thread}.{a,so} \
-               $(STAGING_DIR)/usr/lib/libg{lib,module,thread}-*.so.* \
-               $(STAGING_DIR)/usr/lib/glib \
-               $(STAGING_DIR)/usr/lib/pkgconfig/g{lib,module,thread}.pc
-endef
-
 define Package/glib1/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libg{lib,module,thread}-1.2.so.* $(1)/usr/lib/
index 6121d4d..3ba88d6 100644 (file)
@@ -80,14 +80,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/g{lib,module,module-no-export,object,thread}-2.0.pc $(1)/usr/lib/pkgconfig
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/glib-2.0 \
-               $(STAGING_DIR)/usr/lib/glib-2.0 \
-               $(STAGING_DIR)/usr/lib/libg{lib,module,module-no-export,object,thread}-2.0.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/g{lib,module,module-no-export,object,thread}-2.0.pc
-endef
-
-
 define Package/glib2/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libg*-2.0.so* $(1)/usr/lib/
index ea68dfc..0419e19 100644 (file)
@@ -160,14 +160,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/gnutls{,-extra}.pc $(1)/usr/lib/pkgconfig/
 endef
 
-define Build/UninstallDev
-       rm -rf $(2)/usr/bin/libgnutls{,-extra}-config \
-               $(1)/usr/include/gnutls \
-               $(1)/usr/lib/libgnutls{,-extra,-openssl}.{a,so*} \
-               $(1)/usr/lib/pkgconfig/gnutls{,-extra}.pc
-endef
-
-
 define Package/certtool/conffiles
 /etc/gnutls/certtool.cfg
 endef
index a4ec986..12ffa72 100644 (file)
@@ -83,11 +83,5 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgsm.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/gsm.h \
-               $(STAGING_DIR)/usr/lib/libgsm.{a,so*}
-endef
-
 $(eval $(call BuildPackage,libgsm))
 $(eval $(call BuildPackage,gsm-utils))
index 4be30c9..4b69fc0 100644 (file)
@@ -110,12 +110,6 @@ define Build/InstallDev
        $(SED) 's,-L/usr/lib/howl,-L$$$${libdir}/howl,g' $(1)/usr/lib/pkgconfig/howl.pc
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/howl \
-               $(STAGING_DIR)/usr/lib/lib{howl,mDNSResponder}.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/howl.pc
-endef
-
 define Package/libhowl/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{howl,mDNSResponder}.so.* $(1)/usr/lib/
index b44f7e0..e213231 100644 (file)
@@ -54,13 +54,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libid3-*.so.* $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/id3 \
-               $(STAGING_DIR)/usr/include/id3.h \
-               $(STAGING_DIR)/usr/lib/libid3.{a,so} \
-               $(STAGING_DIR)/usr/lib/libid3-*.so.*
-endef
-
 define Package/id3lib/install
        $(INSTALL_DIR) $(1)/usr/lib/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libid3-*.so.* $(1)/usr/lib/
index 4e709c1..a7cf843 100644 (file)
@@ -54,12 +54,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/iksemel.pc $(1)/usr/lib/pkgconfig/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/iksemel.h \
-               $(STAGING_DIR)/usr/lib/libiksemel.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/iksemel.pc
-endef
-
 define Package/libiksemel/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libiksemel.so.* $(1)/usr/lib/
index c7f218d..4b8cb17 100644 (file)
@@ -79,12 +79,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libjpeg.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/jpeg{int,lib}.h \
-               $(STAGING_DIR)/usr/include/j{config,error,morecfg}.h \
-               $(STAGING_DIR)/usr/lib/libjpeg.{a,so*}
-endef
-
 define Package/libjpeg/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libjpeg.so.* $(1)/usr/lib/
index 180df42..d2741d7 100644 (file)
@@ -52,12 +52,6 @@ define Build/InstallDev
        ln -sf libaio.so.$(LIBAIO_SOVER) $(1)/usr/lib/libaio.so.1
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/libaio.h \
-               $(STAGING_DIR)/usr/lib/libaio.{a,so*}
-endef
-
 define Package/libaio/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(INSTALL_DATA) $(PKG_BUILD_DIR)/src/libaio.so.* $(1)/usr/lib/
index a370ba0..0305d32 100644 (file)
@@ -49,13 +49,6 @@ define Build/InstallDev
        mkdir -p $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libamsel.so $(1)/usr/lib/
 endef
-       
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/compat.h \
-               $(STAGING_DIR)/usr/include/compat \
-               $(STAGING_DIR)/usr/lib/libamsel.so
-endef
 
 define Package/libamsel/install
        $(INSTALL_DIR) $(1)/usr/lib
index 349243d..c5ac5b3 100644 (file)
@@ -60,13 +60,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/ao.pc $(1)/usr/lib/pkgconfig/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/ao \
-               $(STAGING_DIR)/usr/lib/libao.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/ao.pc
-endef
-
 define Package/libao/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libao.so.* $(1)/usr/lib/
index b3d5cc1..d30a6d9 100644 (file)
@@ -61,14 +61,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libart-2.0.pc $(1)/usr/lib/pkgconfig/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/bin/libart2-config \
-               $(STAGING_DIR)/usr/include/libart-2.0 \
-               $(STAGING_DIR)/usr/lib/libart_lgpl_2.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/libart-2.0.pc
-endef
-
 define Package/libart/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libart_lgpl_2.so.* $(1)/usr/lib/
index 8f20988..6599056 100644 (file)
@@ -55,11 +55,4 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libatomic_ops*.a $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/atomic_ops{,_malloc,_stack}.h \
-               $(STAGING_DIR)/usr/include/atomic_ops \
-               $(STAGING_DIR)/usr/lib/libatomic_ops{,_gpl}.a
-endef
-
 $(eval $(call BuildPackage,libatomicops))
index 3b5a2c2..ca3aaf2 100644 (file)
@@ -61,16 +61,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/audiofile.pc $(1)/usr/lib/pkgconfig/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/bin/audiofile-config \
-               $(STAGING_DIR)/usr/include/af_vfs.h \
-               $(STAGING_DIR)/usr/include/audiofile.h \
-               $(STAGING_DIR)/usr/include/aupvlist.h \
-               $(STAGING_DIR)/usr/lib/libaudiofile.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/audiofile.pc
-endef
-
 define Package/libaudiofile/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libaudiofile.so.* $(1)/usr/lib/
index a922f81..32708cd 100644 (file)
@@ -52,12 +52,4 @@ define Build/InstallDev
                $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -f \
-               $(STAGING_DIR)/usr/include/ansidecl.h \
-               $(STAGING_DIR)/usr/include/bfd{,link}.h \
-               $(STAGING_DIR)/usr/include/symcat.h \
-               $(STAGING_DIR)/usr/lib/libbfd.a
-endef
-
 $(eval $(call Build/DefaultTargets))
index 896a519..285e752 100644 (file)
@@ -48,11 +48,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcli.so* $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/libcli.h \
-               $(STAGING_DIR)/usr/lib/libcli.so*
-endef
-
 define Package/libcli/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcli.so.* $(1)/usr/lib/
index 07c83bd..81b0797 100644 (file)
@@ -65,14 +65,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libdaemon.pc $(1)/usr/lib/pkgconfig/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/libdaemon \
-               $(STAGING_DIR)/usr/lib/libdaemon.a \
-               $(STAGING_DIR)/usr/lib/libdaemon.so* \
-               $(STAGING_DIR)/usr/lib/pkgconfig/libdaemon.pc
-endef
-
 define Package/libdaemon/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdaemon.so.* $(1)/usr/lib/
index 184b8fb..ae4c843 100644 (file)
@@ -69,14 +69,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdnet.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/bin/dnet-config \
-               $(STAGING_DIR)/usr/include/dnet.h  \
-               $(STAGING_DIR)/usr/include/dnet  \
-               $(STAGING_DIR)/usr/lib/libdnet.{a,so*}
-endef
-
 define Package/libdnet/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdnet.so.* $(1)/usr/lib/
index 3b82446..025abfd 100644 (file)
@@ -47,12 +47,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdvbpsi.{a,so*,la} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/dvbpsi \
-               $(STAGING_DIR)/usr/lib/libdvbpsi.{a,so*,la}
-endef
-
 define Package/libdvbpsi4/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdvbpsi.so* $(1)/usr/lib/
index 1404ccc..aae2d09 100644 (file)
@@ -52,12 +52,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libelf.pc $(1)/usr/lib/pkgconfig/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/libelf* \
-               $(STAGING_DIR)/usr/lib/libelf.{a,so*}
-endef
-
 define Package/libelf/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libelf.so.* $(1)/usr/lib/
index 2072dad..80c5fd9 100644 (file)
@@ -57,13 +57,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libevent-$(PKG_VERSION).so* $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/event.h \
-               $(STAGING_DIR)/usr/lib/libevent.{a,so} \
-               $(STAGING_DIR)/usr/lib/libevent-$(PKG_VERSION).so*
-endef
-
 define Package/libevent/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libevent-$(PKG_VERSION).so.* $(1)/usr/lib/
index 00adb33..a4ff381 100644 (file)
@@ -51,12 +51,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libexif*.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/libexif \
-               $(STAGING_DIR)/usr/lib/libexif*.{a,so*}
-endef
-
 define Package/libexif/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libexif*.so.* $(1)/usr/lib/
index 704d356..7c3a2e8 100644 (file)
@@ -56,12 +56,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libffi.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev      
-       rm -rf \
-               $(STAGING_DIR)/usr/include/ffi{,target}.h \
-               $(STAGING_DIR)/usr/lib/libffi.{a,so*}
-endef
-
 define Package/libffi-sable/install    
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libffi.so.* $(1)/usr/lib/
index 87397d9..83e820f 100644 (file)
@@ -64,15 +64,6 @@ define Build/InstallDev
        ln -sf $(1)/usr/bin/libgcrypt-config $(2)/bin/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(1)/usr/bin/libgcrypt-config \
-               $(2)/bin/libgcrypt-config \
-               $(1)/usr/include/gcrypt*.h \
-               $(1)/usr/lib/libgcrypt.{a,so*} \
-               $(1)/usr/share/aclocal/libgcrypt.m4
-endef
-
 define Package/libgcrypt/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgcrypt.so.* $(1)/usr/lib/
index a2d9d90..7d0844e 100644 (file)
@@ -64,14 +64,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/share/aclocal/gpg-error.m4 $(1)/usr/share/aclocal/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/bin/gpg-error-config \
-               $(STAGING_DIR)/usr/include/gpg-error.h \
-               $(STAGING_DIR)/usr/lib/libgpg-error.{a,so*} \
-               $(STAGING_DIR)/usr/share/aclocal/gpg-error.m4
-endef
-
 define Package/libgpg-error/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgpg-error.so.* $(1)/usr/lib/
index 0883759..ed9be51 100644 (file)
@@ -83,14 +83,6 @@ define Build/InstallDev
        rm -f $(1)/usr/include/gphoto2/gphoto2
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/bin/gphoto2-config \
-               $(STAGING_DIR)/usr/bin/gphoto2-port-config \
-               $(STAGING_DIR)/usr/include/gphoto2* \
-               $(STAGING_DIR)/usr/lib/libgphoto*.{a,so*}
-endef
-
 define Package/libgphoto2/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libgphoto2{,_port}.so.* $(1)/usr/lib/
index 9f8d2f6..4dc482c 100644 (file)
@@ -46,11 +46,4 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libgssapi.pc $(1)/usr/lib/pkgconfig
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/gssglue \
-               $(STAGING_DIR)/usr/lib/libgssapi.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/libgssapi.pc
-endef
-
 $(eval $(call BuildPackage,libgssapi))
index d9fbb04..fde3a74 100644 (file)
@@ -51,10 +51,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libiconv.{a,so*} $(1)/usr/lib/libiconv/lib/
 endef
 
-define Build/UninstallDev      
-       rm -rf  $(STAGING_DIR)/usr/lib/libiconv
-endef
-
 define Package/libiconv/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libiconv.so.* $(1)/usr/lib/
index ad7c904..597cca4 100644 (file)
@@ -56,12 +56,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libid3tag.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/id3tag.h \
-               $(STAGING_DIR)/usr/lib/libid3tag.{a,so*}
-endef
-
 define Package/libid3tag/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libid3tag.so.* $(1)/usr/lib/
index 67b67cb..ad4fbfc 100644 (file)
@@ -66,12 +66,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmad.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/mad.h \
-               $(STAGING_DIR)/usr/lib/libmad.{a,so*}
-endef
-
 define Package/libmad/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmad.so.* $(1)/usr/lib/
index 8ed6475..46e16c4 100644 (file)
@@ -57,13 +57,6 @@ define Build/InstallDev
        $(SED) 's,-L$$$${exec_prefix}/lib,,g' $(1)/usr/bin/libmcrypt-config
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/mcrypt.h \
-               $(STAGING_DIR)/usr/lib/libmcrypt.{a,so*} \
-               $(STAGING_DIR)/usr/bin/libmcrypt-config
-endef
-
 define Package/libmcrypt/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmcrypt.so.* $(1)/usr/lib/
index 35f0ffe..cedb5ec 100644 (file)
@@ -50,12 +50,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/mpcdec/ \
-               $(STAGING_DIR)/usr/lib/libmpcdec.*
-endef
-
 define Package/libmpcdec/install
        $(INSTALL_DIR) $(1)/usr/lib/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmpcdec.* $(1)/usr/lib/
index c92f4a3..ace9fc8 100644 (file)
@@ -44,13 +44,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libmpd.pc $(1)/usr/lib/pkgconfig/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-       $(STAGING_DIR)/usr/include/libmpd \
-       $(STAGING_DIR)/usr/lib/libmpd.{a,so*} \
-       $(STAGING_DIR)/usr/lib/pkgconfig/libmpd.pc
-endef
-
 define Package/libmpd/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libmpd.so.* $(1)/usr/lib/
index 73044d2..d36a1f5 100644 (file)
@@ -72,10 +72,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libnet.{a,so*} $(1)/usr/lib/libnet-1.0.x/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf $(STAGING_DIR)/usr/lib/libnet-1.0.x
-endef
-
 define Package/libnet0/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libnet.so.* $(1)/usr/lib/
index 1978fe1..b60939a 100644 (file)
@@ -72,10 +72,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libnet.{a,so*} $(1)/usr/lib/libnet-1.1.x/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf $(STAGING_DIR)/usr/lib/libnet-1.1.x
-endef
-
 define Package/libnet1/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libnet.so.* $(1)/usr/lib/
index 6b60408..20dea96 100644 (file)
@@ -60,11 +60,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libnfnetlink.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(1)/usr/include/libnfnetlink \
-               $(1)/usr/lib/libnfnetlink.{a,so*}
-endef
-
 define Package/libnfnetlink/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libnfnetlink.so.* $(1)/usr/lib/
index 7620fdc..bf0cc72 100644 (file)
@@ -46,11 +46,4 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libnfsidmap.pc $(1)/usr/lib/pkgconfig
 endef  
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/nfsidmap.h \
-               $(STAGING_DIR)/usr/lib/libnfsidmap.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/libnfsidmap.pc
-endef
-
 $(eval $(call BuildPackage,libnfsidmap))
index 6875593..450afb1 100644 (file)
@@ -60,12 +60,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libnids.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/nids.h \
-               $(STAGING_DIR)/usr/lib/libnids.{a,so*}
-endef
-
 define Package/libnids/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libnids.so.* $(1)/usr/lib/
index b6216b1..6c3aabe 100644 (file)
@@ -40,8 +40,4 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/libnotimpl.a $(STAGING_DIR)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -f $(STAGING_DIR)/usr/lib/libnotimpl.a
-endef
-
 $(eval $(call BuildPackage,libnotimpl))
index 32514b7..0ad63aa 100644 (file)
@@ -68,12 +68,6 @@ define Build/InstallDev
        $(SED) 's,$(TARGET_LDFLAGS),,g' $(1)/usr/lib/pkgconfig/liboil.pc
 endef
 
-define Build/UninstallDev
-       rm -rf $(STAGING_DIR)/usr/include/liboil-0.3 \
-               $(STAGING_DIR)/usr/lib/liboil-0.3.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/liboil.pc
-endef
-
 define Package/liboil/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/liboil-0.3.so* $(1)/usr/lib/
index 506b34a..3dd0156 100644 (file)
@@ -52,13 +52,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libol.{*a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/bin/libol-config \
-               $(STAGING_DIR)/usr/include/libol \
-               $(STAGING_DIR)/usr/lib/libol.{*a,so*}
-endef
-
 define Package/libol/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libol.so.* $(1)/usr/lib/
index b16fefd..681af3b 100644 (file)
@@ -59,12 +59,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libosip2.pc $(1)/usr/lib/pkgconfig/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/osip{,parser}2 \
-               $(STAGING_DIR)/usr/lib/libosip{,parser}2.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/libosip2.pc
-endef
-
 define Package/libosip2/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libosip{,parser}2.so.* $(1)/usr/lib/
index a035084..13caf84 100644 (file)
@@ -59,13 +59,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/security \
-               $(STAGING_DIR)/lib/libpam.* \
-               $(STAGING_DIR)/lib/security 
-endef
-
 define Package/libpam/install
        $(INSTALL_DIR) $(1)/lib
        $(INSTALL_DIR) $(1)/etc
index b3d3cfc..40dd9de 100644 (file)
@@ -56,15 +56,6 @@ define Build/InstallDev
        $(SED) 's,^[ILR]_opts=".\+",,g' $(2)/bin/libpng*-config
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/bin/libpng{,12}-config \
-               $(STAGING_DIR)/usr/include/png{,conf}.h \
-               $(STAGING_DIR)/usr/include/libpng \
-               $(STAGING_DIR)/usr/lib/libpng{,12}.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/libpng{,12}.pc
-endef
-
 define Package/libpng/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpng{,12}.so.* $(1)/usr/lib/
index d12462f..177dc85 100644 (file)
@@ -60,12 +60,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{history,readline}.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/readline \
-               $(STAGING_DIR)/usr/lib/lib{history,readline}.{a,so*}
-endef
-
 define Package/libreadline/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{history,readline}.so.* $(1)/usr/lib/
index f7de2f3..9211717 100644 (file)
@@ -49,11 +49,4 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/librpcsecgss.pc $(1)/usr/lib/pkgconfig
 endef  
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/rpcsecgss \
-               $(STAGING_DIR)/usr/lib/librpcsecgss.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/librpcsecgss.pc
-endef
-
 $(eval $(call BuildPackage,librpcsecgss))
index 3ea9168..c558797 100644 (file)
@@ -54,12 +54,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/librsync.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/librsync{,-config}.h \
-               $(STAGING_DIR)/usr/lib/librsync.{a,so*}
-endef
-
 define Package/librsync/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/librsync.so.* $(1)/usr/lib/
index 6dd6927..c587fe1 100644 (file)
@@ -50,12 +50,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/* $(1)/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/samplerate/ \
-               $(STAGING_DIR)/usr/lib/libsamplerate.{a,so*,la}
-endef
-
 define Package/libsamplerate/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(CP) $(PKG_INSTALL_DIR)/usr/* $(1)/usr/bin/
index 83a4a9f..72a6548 100644 (file)
@@ -68,14 +68,6 @@ define Build/InstallDev
        $(SED) 's,$(TARGET_LDFLAGS),,g' $(1)/usr/lib/pkgconfig/sigc++-2.0.pc
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/sigc++-2.0 \
-               $(STAGING_DIR)/usr/lib/libsigc-2.0.{a,so*} \
-               $(STAGING_DIR)/usr/lib/sigc++-2.0 \
-               $(STAGING_DIR)/usr/lib/pkgconfig/sigc++-2.0.pc
-               
-endef
-
 define Package/libsigcxx/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsigc-2.0.so.* $(1)/usr/lib/
index 86c36c1..d249ddb 100644 (file)
@@ -54,13 +54,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/* $(1)/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/sndfile* \
-               $(STAGING_DIR)/usr/lib/libsndfile.{a,so*,la} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/sndfile.pc
-endef
-
 define Package/libsndfile/install
        $(INSTALL_DIR) $(1)/usr/lib/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsndfile.so* $(1)/usr/lib/
index 1c1fb78..0b32fe0 100644 (file)
@@ -59,14 +59,6 @@ define Build/InstallDev
        $(SED) 's,-L$$$${exec_prefix}/lib,,g' $(1)/usr/bin/libtasn1-config
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/bin/libtasn1-config \
-               $(STAGING_DIR)/usr/include/libtasn1.h \
-               $(STAGING_DIR)/usr/lib/libtasn1.{a,so*} \
-               $(STAGING_DIR)/usr/share/aclocal/libtasn1.m4
-endef
-
 define Package/libtasn1/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtasn1.so.* $(1)/usr/lib/
index 6a4db64..5d1ea69 100644 (file)
@@ -71,12 +71,6 @@ define Build/InstallDev
        $(SED) 's,$(TARGET_LDFLAGS),,g' $(1)/usr/lib/pkgconfig/libtorrent.pc
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/torrent \
-               $(STAGING_DIR)/usr/lib/libtorrent.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/libtorrent.pc
-endef
-
 define Package/libtorrent/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtorrent.so.* $(1)/usr/lib/
index 54674a7..2f53112 100644 (file)
@@ -58,13 +58,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libupnp.pc $(1)/usr/lib/pkgconfig/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/upnp \
-               $(STAGING_DIR)/usr/lib/lib{ixml,threadutil,upnp}.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/libupnp.pc
-endef
-
 define Package/libupnp/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{ixml,threadutil,upnp}.so.* $(1)/usr/lib/
index dfc74ad..3570944 100644 (file)
@@ -52,14 +52,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libusb.pc $(1)/usr/lib/pkgconfig/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/bin/libusb-config \
-               $(STAGING_DIR)/usr/include/usb.h \
-               $(STAGING_DIR)/usr/lib/libusb*.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/libusb.pc
-endef
-
 define Package/libusb/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libusb*.so.* $(1)/usr/lib/
index cb56e40..63b2504 100644 (file)
@@ -56,12 +56,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libvorbisidec.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/tremor \
-               $(STAGING_DIR)/usr/lib/libvorbisidec.{a,so*}
-endef
-
 define Package/libvorbisidec/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libvorbisidec.so.* $(1)/usr/lib/
index 964af60..4c93e77 100644 (file)
@@ -92,14 +92,6 @@ define Build/InstallDev
        $(SED) 's,-L$$$${libdir},,g' $(1)/usr/bin/xml2-config
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/bin/xml2-config \
-               $(STAGING_DIR)/usr/include/libxml2 \
-               $(STAGING_DIR)/usr/lib/libxml2.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/libxml-2.0.pc
-endef
-
-
 define Package/libxml2/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libxml2.so.* $(1)/usr/lib/
index 917d78f..d9a4811 100644 (file)
@@ -85,14 +85,6 @@ define Build/InstallDev
        $(SED) 's,-L$(1)/usr/lib,,g' $(1)/usr/bin/xslt-config
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/bin/xslt-config \
-               $(STAGING_DIR)/usr/include/libxslt \
-               $(STAGING_DIR)/usr/lib/libxslt.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/libxslt.pc
-endef
-
 define Package/libxslt/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libxslt.so.* $(1)/usr/lib/
index 2ffa2f0..ed87732 100644 (file)
@@ -49,12 +49,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblzo2.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/lzo* \
-               $(STAGING_DIR)/usr/lib/liblzo2.{a,so*}
-endef
-
 define Package/liblzo/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblzo2.so.* $(1)/usr/lib/
index 7392f73..9708bd1 100644 (file)
@@ -45,12 +45,6 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/src/libmatrixssl.so* $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/matrixSsl* \
-               $(STAGING_DIR)/usr/lib/libmatrixssl.so*
-endef
-
 define Package/libmatrixssl/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_BUILD_DIR)/src/libmatrixssl.so.* $(1)/usr/lib/
index 2403662..e086648 100644 (file)
@@ -104,13 +104,6 @@ define Build/InstallDev
        rm -f $(1)/usr/lib/mysql/libmysqlclient.la
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(2)/bin/mysql_config \
-               $(1)/usr/include/mysql \
-               $(1)/usr/lib/mysql
-endef
-
 define Package/libmysqlclient/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/mysql/libmysqlclient.so.* $(1)/usr/lib/
index e3a835c..03dba0a 100644 (file)
@@ -62,13 +62,6 @@ define Build/InstallDev
        $(SED) 's,-L$$$${libdir},,g' $(1)/usr/bin/neon-config
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/bin/neon-config \
-               $(STAGING_DIR)/usr/include/neon \
-               $(STAGING_DIR)/usr/lib/libneon.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/neon.pc
-endef
-
 define Package/libneon/install 
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libneon.so.* $(1)/usr/lib/
index 1aa8fd1..235f8f2 100644 (file)
@@ -191,12 +191,6 @@ define Build/InstallDev
        $(SED) 's,-L/usr/lib,,g' $(1)/usr/bin/net-snmp-config
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/bin/net-snmp-config \
-               $(STAGING_DIR)/usr/include/net-snmp \
-               $(STAGING_DIR)/usr/lib/libnetsnmp{,agent,helpers,mibs}.{a,so*}
-endef
-
 define Package/libnetsnmp/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libnetsnmp{,agent,helpers,mibs}.so.* $(1)/usr/lib/
index 8244796..1521a43 100644 (file)
@@ -39,9 +39,4 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/lib/libnmeap.a $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -f $(STAGING_DIR)/usr/include/nmeap{,_def}.h \
-               $(STAGING_DIR)/usr/lib/libnmeap.a
-endef
-
 $(eval $(call BuildPackage,libnmeap))
index 52aeeab..954aef6 100644 (file)
@@ -65,8 +65,4 @@ define Build/InstallDev
        ln -sf $(PKG_NAME)_$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME)
 endef
 
-define Build/UninstallDev
-       rm -rf $(BUILD_DIR)/$(PKG_NAME)
-endef
-
 $(eval $(call BuildPackage,libopal))
index dd396e1..88481e6 100644 (file)
@@ -64,13 +64,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libopencdk.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/bin/opencdk-config \
-               $(STAGING_DIR)/usr/include/opencdk.h \
-               $(STAGING_DIR)/usr/lib/libopencdk.{a,so*}
-endef
-
 define Package/libopencdk/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libopencdk.so.* $(1)/usr/lib/
index e7320e7..9600b0a 100644 (file)
@@ -44,8 +44,4 @@ define Build/InstallDev
        ln -sf $(PKG_NAME)-$(PKG_VERSION) $(BUILD_DIR)/$(PKG_NAME)
 endef
 
-define Build/UninstallDev
-       rm -rf $(BUILD_DIR)/$(PKG_NAME)
-endef
-
 $(eval $(call BuildPackage,libopenh323))
index 06c526d..ab0f53e 100644 (file)
@@ -95,11 +95,6 @@ define Build/InstallDev
        mkdir -p $(1)/usr/lib/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{lber,ldap}*.{a,so*} $(1)/usr/lib/
 endef
-       
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/{lber,ldap}*.h \
-               $(STAGING_DIR)/usr/lib/lib{lber,ldap}*.{a,so*}
-endef
 
 define Package/libopenldap/install
        $(INSTALL_DIR) $(1)/etc/openldap
index 61187bc..7975c9e 100644 (file)
@@ -34,7 +34,7 @@ CONFIGURE_ARGS += \
        --disable-cpp
 
 MAKE_FLAGS += \
-       $(TARGET_CONFIGURE_OPTS \
+       $(TARGET_CONFIGURE_OPTS) \
        CFLAGS="$(TARGET_CFLAGS)" \
        all
 
@@ -47,13 +47,6 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/.libs/libpcre{,posix}.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/bin/pcre-config \
-               $(STAGING_DIR)/usr/include/pcre{,posix}.h \
-               $(STAGING_DIR)/usr/lib/libpcre{,posix}.{a,so*}
-endef
-
 define Package/libpcre/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_BUILD_DIR)/.libs/libpcre{,posix}.so.* $(1)/usr/lib/
index 64cb072..b383934 100644 (file)
@@ -47,12 +47,6 @@ define Build/InstallDev
        mkdir -p $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpopt.{a,so*} $(1)/usr/lib/
 endef
-       
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/popt.h \
-               $(STAGING_DIR)/usr/lib/libpopt.{a,so*}
-endef
 
 define Package/libpopt/install
        $(INSTALL_DIR) $(1)/usr/lib
index 8869257..bef2fdd 100644 (file)
@@ -265,19 +265,6 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/src/timezone/zic.host $(1)/usr/bin/zic
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/bin/pg_config \
-               $(STAGING_DIR)/usr/include/libpq \
-               $(STAGING_DIR)/usr/include/libpq-fe.h \
-               $(STAGING_DIR)/usr/include/pg_config.h \
-               $(STAGING_DIR)/usr/include/postgres_ext.h \
-               $(STAGING_DIR)/usr/include/postgresql \
-               $(STAGING_DIR)/usr/lib/libpq.{a,so*} \
-               $(STAGING_DIR)/usr/bin/ecpg \
-               $(STAGING_DIR)/usr/bin/zic
-endef
-
 $(eval $(call BuildPackage,libpq))
 $(eval $(call BuildPackage,pgsql-cli))
 $(eval $(call BuildPackage,pgsql-server))
index 609332e..8318f8e 100644 (file)
@@ -105,8 +105,4 @@ define Build/InstallDev
        $(SED) 's|//\(#include <ptlib/sound.h>\)|\1|' $(PKG_BUILD_DIR)/include/ptlib.h
 endef
 
-define Build/UninstallDev
-       rm -rf $(BUILD_DIR)/$(PKG_NAME)
-endef
-
 $(eval $(call BuildPackage,ptlib))
index 7362c6c..8e0b994 100644 (file)
@@ -87,8 +87,4 @@ define Build/InstallDev
        $(SED) 's|//\(#include <ptlib/sound.h>\)|\1|' $(PKG_BUILD_DIR)/include/ptlib.h
 endef
 
-define Build/UninstallDev
-       rm -rf $(BUILD_DIR)/$(PKG_NAME)
-endef
-
 $(eval $(call BuildPackage,pwlib))
index 783a67e..52449ff 100644 (file)
@@ -83,12 +83,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libradiusclient-ng.{a,so}* $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/radiusclient-ng.h \
-               $(STAGING_DIR)/usr/lib/libradiusclient-ng.{a,so}*
-endef
-
 define Package/libradiusclient-ng/install
        $(INSTALL_DIR) $(1)/etc
        $(CP) $(PKG_INSTALL_DIR)/etc/radiusclient-ng $(1)/etc/
index 3664200..b940328 100644 (file)
@@ -165,12 +165,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/librrd.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/rrd.h \
-               $(STAGING_DIR)/usr/lib/librrd.{a,so*}
-endef
-
 $(eval $(call BuildPackage,librrd1))
 $(eval $(call BuildPackage,rrdcgi1))
 $(eval $(call BuildPackage,rrdtool1))
index c5a0cef..9c7ef77 100644 (file)
@@ -50,12 +50,6 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/lib/libserdisp.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/serdisplib \
-               $(STAGING_DIR)/usr/lib/libserdisp.{a,so*}
-endef
-
 define Package/serdisplib/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_BUILD_DIR)/lib/libserdisp.so.* $(1)/usr/lib
index 8c450f2..733251c 100644 (file)
@@ -68,13 +68,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/speex.pc $(1)/usr/lib/pkgconfig/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/speex \
-               $(STAGING_DIR)/usr/lib/libspeex.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/speex.pc
-endef
-
 define Package/libspeex/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libspeex.so.* $(1)/usr/lib/
index 43f138b..877c3a3 100644 (file)
@@ -90,12 +90,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/sqlite.pc $(1)/usr/lib/pkgconfig/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/sqlite.h \
-               $(STAGING_DIR)/usr/lib/libsqlite.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/sqlite.pc
-endef
-
 define Package/libsqlite2/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsqlite.so.* $(1)/usr/lib/
index 1706ac0..71157a2 100644 (file)
@@ -89,12 +89,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/sqlite3.pc $(1)/usr/lib/pkgconfig/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/sqlite3.h \
-               $(STAGING_DIR)/usr/lib/libsqlite3.{a,so*} \
-               $(STAGING_DIR)/usr/lib/pkgconfig/sqlite3.pc
-endef
-
 define Package/libsqlite3/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsqlite3.so.* $(1)/usr/lib/
index eeb70b4..f167db6 100644 (file)
@@ -52,12 +52,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/include/taglib/* $(1)/usr/include/taglib/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/bin/taglib-config \
-               $(STAGING_DIR)/usr/include/taglib \
-               $(STAGING_DIR)/usr/lib/libtag.{a,so*}
-endef
-
 define Package/taglib/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtag.so.* $(1)/usr/lib/
index fccdf3e..f7e0da1 100644 (file)
@@ -52,12 +52,6 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/shared/libwrap.so* $(1)/usr/lib/
 endef
 
-define Build/UninstallDev      
-       rm -rf \
-               $(STAGING_DIR)/usr/include/tcpd.h \
-               $(STAGING_DIR)/usr/lib/libwrap.{a,so*}
-endef
-
 define Package/libwrap/install 
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_BUILD_DIR)/shared/libwrap.so.* $(1)/usr/lib/
index 5c49d63..6b2134f 100644 (file)
@@ -78,13 +78,6 @@ define Build/InstallDev
        $(SED) 's|-luClibc++|-Wl,-Bdynamic,-luClibc++,-Bstatic,-lstdc++,-Bdynamic|g' $(2)/bin/g++-uc+std
        $(SED) 's|-nostdinc++||g' $(2)/bin/g++-uc+std
 endef
-       
-define Build/UninstallDev
-       rm -rf $(2)/bin/g++-uc \
-               $(2)/bin/g++-uc+std \
-               $(1)/usr/include/uClibc++ \
-               $(1)/usr/lib/libuClibc++*.{a,so*}
-endef
 
 define Package/uclibcxx/install
        $(INSTALL_DIR) $(1)/usr/lib
index b05262e..be01e00 100644 (file)
@@ -63,10 +63,4 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libustl.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/ustl* \
-               $(STAGING_DIR)/usr/lib/libustl.{a,so*}
-endef
-
 $(eval $(call BuildPackage,ustl))
index c10e136..4ed775b 100644 (file)
@@ -125,14 +125,6 @@ define Build/InstallDev
        $(SED) 's,-I$$$${libdir}/wx/include,-I$(1)/usr/lib/wx/include,g' $(1)/usr/bin/wx-config
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/bin/wx-config \
-               $(STAGING_DIR)/usr/include/wx-2.6 \
-               $(STAGING_DIR)/usr/lib/libwx_base{,_net,_xml}-2.6-*.so \
-               $(STAGING_DIR)/usr/lib/libwx_base{,_net,_xml}-2.6.so.* \
-               $(STAGING_DIR)/usr/lib/wx
-endef
-
 define Package/libwxbase/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libwx_base{,_net,_xml}-2.6.so.* $(1)/usr/lib/
index 785408b..3e2acc3 100644 (file)
@@ -63,11 +63,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libxyssl.{a,so} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/xyssl \
-               $(STAGING_DIR)/usr/lib/libxyssl.{a,so}
-endef
-
 define Package/libxyssl/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libxyssl.so $(1)/usr/lib/
index a4f9efe..383c3d6 100644 (file)
@@ -55,12 +55,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtonezone.so* $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf $(STAGING_DIR)/usr/include/linux/zaptel.h
-       rm -rf $(STAGING_DIR)/usr/include/tonezone.h
-       rm -rf $(STAGING_DIR)/usr/lib/libtonezone.so*
-endef
-
 define Package/zaptel-libtonezone/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtonezone.so.* $(1)/usr/lib/
index b468a65..0658903 100644 (file)
@@ -123,14 +123,6 @@ define Build/InstallDev
                $(1)/usr/share
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/{ap_*,http*,mod_*,mpm*,os.h,scoreboard.h,unixd.h,util_*} \
-               $(STAGING_DIR)/etc/{httpd.conf,magic,mime.types,extra,original} \
-               $(STAGING_DIR)/usr/sbin/{ab,apachectl,apxs,checkgid,dbmmanage,envvars,envvars-std,htcacheclean,htdbm,htdigest,htpasswd,httpd,httxt2dbm,logresolve,rotatelogs} \
-               $(STAGING_DIR)/usr/share/{error,icons,htdocs,cgi-bin,build} \
-               $(STAGING_DIR)/usr/lib/httpd.exp
-endef
-
 define Package/apache-server/preinst
        rm /usr/sbin/httpd
        echo -e "You should take a look in the initscripts, busybox's httpd \n\
index d40e63d..83b57d2 100644 (file)
@@ -376,11 +376,6 @@ define Build/InstallDev
                $(1)/usr/include/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/asterisk
-endef
-
-
 define Package/asterisk/conffiles
 /etc/asterisk/asterisk.conf
 /etc/asterisk/agents.conf
index ee72d5d..20ded7c 100644 (file)
@@ -110,11 +110,4 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcups.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/bin/cups-config \
-               $(STAGING_DIR)/usr/include/cups \
-               $(STAGING_DIR)/usr/lib/libcups.{a,so*}
-endef
-
 $(eval $(call BuildPackage,cups))
index 82b43e1..49c51e8 100644 (file)
@@ -67,12 +67,6 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/.libs/libgps.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/gps{,d}.h \
-               $(STAGING_DIR)/usr/include/libgpsmm.h \
-               $(STAGING_DIR)/usr/lib/libgps.{a,so*} 
-endef
-
 define Package/gpsd/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/libgps.so.* $(1)/usr/lib/
index 93a7d12..8c2a15b 100644 (file)
@@ -56,11 +56,6 @@ define Build/InstallDev
        mkdir -p $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libflite*.so.* $(1)/usr/lib/
 endef
-       
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/flite/{cst,flite}*.h \
-               $(STAGING_DIR)/usr/lib/libflite*.so.*
-endef
 
 define Package/flite/install
        $(INSTALL_DIR) $(1)/usr/bin
index 87de88d..a70cdee 100644 (file)
@@ -54,12 +54,6 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/libbz2.a $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/bzlib.h \
-               $(STAGING_DIR)/usr/lib/libbz2.a
-endef
-
 define Package/bzip2/install
        mkdir -p $(1)/usr/bin/
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/bzip2 $(1)/usr/bin/
index 4362c56..2783b01 100644 (file)
@@ -103,14 +103,6 @@ define Build/InstallDev
                $(1)/usr/lib/pkgconfig/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/dbus-1.0 \
-               $(STAGING_DIR)/usr/lib/libdbus-1.{a,so*} \
-               $(STAGING_DIR)/usr/lib/dbus-1.0 \
-               $(STAGING_DIR)/usr/lib/pkgconfig/dbus-1.pc
-endef
-
-
 define Package/dbus/conffiles
 /etc/dbus-1/session.conf
 /etc/dbus-1/system.conf
index e03d8d5..edba3bb 100644 (file)
@@ -54,11 +54,6 @@ define Build/InstallDev
        $(CP)   $(PKG_INSTALL_DIR)/usr/lib/libntfs-3g.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/ntfs-3g \
-               $(STAGING_DIR)/usr/lib/libntfs-3g.{a,so*}
-endef
-
 define Package/ntfs-3g/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ntfs-3g $(1)/usr/bin/
index f868b76..c2b1122 100644 (file)
@@ -59,12 +59,6 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/lib/types.h $(1)/usr/include/pci
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/pci \
-               $(STAGING_DIR)/usr/lib/libpci.a
-endef
-
 define Package/pciutils/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(CP) $(PKG_BUILD_DIR)/{lspci,setpci,update-pciids.sh} $(1)/usr/sbin/
index 46660fe..e046718 100644 (file)
@@ -108,12 +108,6 @@ define Build/InstallDev
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/librrd_th.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf  $(STAGING_DIR)/usr/include/rrd.h \
-               $(STAGING_DIR)/usr/lib/librrd.{a,so*} \
-               $(STAGING_DIR)/usr/lib/librrd_th.{a,so*}
-endef
-
 define Package/librrd/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/librrd.so.* $(1)/usr/lib/
index 6118672..a0111d3 100644 (file)
@@ -46,12 +46,6 @@ define Build/InstallDev
        $(CP) $(PKG_BUILD_DIR)/lib/.libs/libsysfs.{a,so*} $(1)/usr/lib/
 endef
 
-define Build/UninstallDev
-       rm -rf \
-               $(STAGING_DIR)/usr/include/sysfs/*.h \
-               $(STAGING_DIR)/usr/lib/libsysfs.{a,so*}
-endef
-
 define Package/sysfsutils/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(CP) $(PKG_BUILD_DIR)/cmd/systool $(1)/usr/bin/