2005-04-09 13:53:37 +00:00
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2005-04-14 06:11:36 +00:00
|
|
|
PKG_NAME:=libpthread
|
2005-10-20 16:42:18 +00:00
|
|
|
PKG_VERSION:=0.9.28
|
2005-04-14 06:11:36 +00:00
|
|
|
PKG_RELEASE:=1
|
2005-04-09 13:53:37 +00:00
|
|
|
|
2005-04-14 06:11:36 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
2005-05-13 06:00:47 +00:00
|
|
|
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
2005-04-14 06:11:36 +00:00
|
|
|
|
2005-05-13 06:00:47 +00:00
|
|
|
include $(TOPDIR)/package/rules.mk
|
|
|
|
|
|
|
|
$(eval $(call PKG_template,LIBPTHREAD,libpthread,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
2005-04-09 13:53:37 +00:00
|
|
|
|
2005-05-13 06:00:47 +00:00
|
|
|
$(PKG_BUILD_DIR)/.prepared:
|
|
|
|
mkdir -p $(PKG_BUILD_DIR)
|
2005-05-19 21:22:09 +00:00
|
|
|
touch $@
|
2005-05-13 06:00:47 +00:00
|
|
|
|
|
|
|
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
|
2005-05-19 21:22:09 +00:00
|
|
|
touch $@
|
2005-05-13 06:00:47 +00:00
|
|
|
|
|
|
|
$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
|
2005-05-19 21:22:09 +00:00
|
|
|
touch $@
|
2005-05-13 06:00:47 +00:00
|
|
|
|
2005-10-22 12:12:59 +00:00
|
|
|
$(IPKG_LIBPTHREAD): $(PKG_BUILD_DIR)/.built
|
2005-04-14 06:11:36 +00:00
|
|
|
mkdir -p $(IDIR_LIBPTHREAD)/lib
|
2006-02-01 23:53:19 +00:00
|
|
|
$(CP) $(STAGING_DIR)/lib/libpthread.so.* $(IDIR_LIBPTHREAD)/lib/
|
|
|
|
$(CP) $(STAGING_DIR)/lib/libpthread-*.so $(IDIR_LIBPTHREAD)/lib/
|
2005-05-13 06:00:47 +00:00
|
|
|
$(RSTRIP) $(IDIR_LIBPTHREAD)
|
2005-04-14 06:11:36 +00:00
|
|
|
$(IPKG_BUILD) $(IDIR_LIBPTHREAD) $(PACKAGE_DIR)
|
2005-04-09 13:53:37 +00:00
|
|
|
|