$(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)/
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/
$(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)
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
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
$(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/
$(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))
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/
$(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/
$(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))
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
$(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
$(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))
$(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/
$(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/
$(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/
$(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/
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/
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
$(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/
$(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/
$(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))
$(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/
$(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))
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
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/
$(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/
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/
$(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))
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
$(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))
$(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/
$(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))
$(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/
$(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/
$(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/
$(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
$(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/
$(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/
$(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))
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
$(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/
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/
$(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/
$(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/
$(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))
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))
$(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/
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))
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
--disable-cpp
MAKE_FLAGS += \
- $(TARGET_CONFIGURE_OPTS \
+ $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
all
$(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/
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
$(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))
$(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))
$(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))
$(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/
$(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))
$(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
$(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/
$(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/
$(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/
$(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/
$(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/
$(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
$(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))
$(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/
$(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/
$(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/
$(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\
$(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
$(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))
$(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/
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
$(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/
$(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
$(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/
$(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/
$(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/
$(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/