From 444627e0cb563bcf56a11d7e124c0c0c3bc96813 Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 1 Jul 2006 10:15:21 +0000 Subject: [PATCH] Add libpthread git-svn-id: svn://svn.openwrt.org/openwrt/packages@4102 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/libpthread/Makefile | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 libs/libpthread/Makefile diff --git a/libs/libpthread/Makefile b/libs/libpthread/Makefile new file mode 100644 index 000000000..5be6160f4 --- /dev/null +++ b/libs/libpthread/Makefile @@ -0,0 +1,39 @@ +# $Id: Makefile 3843 2006-05-30 18:55:52Z nbd $ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=libpthread +PKG_VERSION:=0.9.8 +PKG_RELEASE:=1 + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install + +include $(INCLUDE_DIR)/package.mk + +define Package/libpthread +SECTION:=libs +CATEGORY:=Libraries +TITLE:=A POSIX thread library +DESCRIPTION:=A POSIX thread library +endef + +define Build/Configure +endef + +define Build/Compile +endef + +define Package/libpthread/install + install -m0755 -d $(1)/lib + $(CP) $(STAGING_DIR)/lib/libpthread.so.* $(1)/lib/ + $(CP) $(STAGING_DIR)/lib/libpthread-*.so $(1)/lib/ +endef + +define Build/InstallDev +endef + +define Build/UninstallDev +endef + +$(eval $(call BuildPackage,libpthread))