add hdparm to package/Makefile
[openwrt.git] / package / libpthread / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=libpthread
6 PKG_VERSION:=0.9.28
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 $(PKG_BUILD_DIR)/.prepared:
17 mkdir -p $(PKG_BUILD_DIR)
18 touch $@
19
20 $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
21 touch $@
22
23 $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
24 touch $@
25
26 $(IPKG_LIBPTHREAD): $(PKG_BUILD_DIR)/.built
27 mkdir -p $(IDIR_LIBPTHREAD)/lib
28 $(CP) $(STAGING_DIR)/lib/libpthread.so.* $(IDIR_LIBPTHREAD)/lib/
29 $(CP) $(STAGING_DIR)/lib/libpthread-*.so $(IDIR_LIBPTHREAD)/lib/
30 $(RSTRIP) $(IDIR_LIBPTHREAD)
31 $(IPKG_BUILD) $(IDIR_LIBPTHREAD) $(PACKAGE_DIR)
32
This page took 0.046499 seconds and 5 git commands to generate.