Add libpthread
[openwrt/svn-archive/archive.git] / libs / libpthread / Makefile
1 # $Id: Makefile 3843 2006-05-30 18:55:52Z nbd $
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=libpthread
6 PKG_VERSION:=0.9.8
7 PKG_RELEASE:=1
8
9 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
10 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
11
12 include $(INCLUDE_DIR)/package.mk
13
14 define Package/libpthread
15 SECTION:=libs
16 CATEGORY:=Libraries
17 TITLE:=A POSIX thread library
18 DESCRIPTION:=A POSIX thread library
19 endef
20
21 define Build/Configure
22 endef
23
24 define Build/Compile
25 endef
26
27 define Package/libpthread/install
28 install -m0755 -d $(1)/lib
29 $(CP) $(STAGING_DIR)/lib/libpthread.so.* $(1)/lib/
30 $(CP) $(STAGING_DIR)/lib/libpthread-*.so $(1)/lib/
31 endef
32
33 define Build/InstallDev
34 endef
35
36 define Build/UninstallDev
37 endef
38
39 $(eval $(call BuildPackage,libpthread))