add some changes from whiterussian to head
[openwrt.git] / openwrt / package / libpthread / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=libpthread
6 PKG_VERSION:=0.9.27
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 $(TOPDIR)/package/rules.mk
13
14 $(eval $(call PKG_template,LIBPTHREAD,libpthread,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
15
16 .NOTPARALLEL:
17
18 $(PKG_BUILD_DIR)/.prepared:
19 mkdir -p $(PKG_BUILD_DIR)
20 touch $@
21
22 $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
23 touch $@
24
25 $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
26 touch $@
27
28 $(IPKG_LIBPTHREAD):
29 mkdir -p $(IDIR_LIBPTHREAD)/lib
30 cp -fpR $(STAGING_DIR)/lib/libpthread.so.* $(IDIR_LIBPTHREAD)/lib/
31 cp -fpR $(STAGING_DIR)/lib/libpthread-*.so $(IDIR_LIBPTHREAD)/lib/
32 $(RSTRIP) $(IDIR_LIBPTHREAD)
33 $(IPKG_BUILD) $(IDIR_LIBPTHREAD) $(PACKAGE_DIR)
34
This page took 0.041343 seconds and 5 git commands to generate.