freewrt_1_0
freewrt_2_0
|
Last change
on this file since f571a06c was d419478, checked in by Thorsten Glaser <tg@…>, 19 years ago |
- whitespace cleanup, while here
- move WRKDIR and DISTFILES definition into PKG_template
- define WRKDIR via parent BUILD_DIR instead of going up from WRKSRC
- use a sub-directory as WRKDIR, like BSD
- rename PKG_BUILD_DIR into WRKBUILD
- define WRKBUILD relative via WRKDIR
- rename PKG_INSTALL_DIR into WRKINST
- fix a few dependencies
- make use of common cases in the definition of WRKBUILD and
WRKINST, removing many redundant lines
- use WRKDIR instead of BUILD_DIR in places where the latter
was used previously
- while here, remove PKG_CAT stuff
this only affects packages, for now
git-svn-id: svn://www.freewrt.org/trunk/freewrt@303 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
726 bytes
|
| Line | |
|---|
| 1 | # $Id: Makefile 3112 2006-02-01 23:53:19Z mbm $
|
|---|
| 2 |
|
|---|
| 3 | include $(TOPDIR)/rules.mk
|
|---|
| 4 |
|
|---|
| 5 | PKG_NAME:=libpthread
|
|---|
| 6 | PKG_VERSION:=0.9.28
|
|---|
| 7 | PKG_RELEASE:=1
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 | DISTFILES:=
|
|---|
| 11 | include $(TOPDIR)/package/rules.mk
|
|---|
| 12 |
|
|---|
| 13 | $(eval $(call PKG_template,LIBPTHREAD,libpthread,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 14 |
|
|---|
| 15 | $(WRKBUILD)/.prepared:
|
|---|
| 16 | mkdir -p $(WRKBUILD)
|
|---|
| 17 | touch $@
|
|---|
| 18 |
|
|---|
| 19 | $(WRKBUILD)/.configured: $(WRKBUILD)/.prepared
|
|---|
| 20 | touch $@
|
|---|
| 21 |
|
|---|
| 22 | $(WRKBUILD)/.built: $(WRKBUILD)/.configured
|
|---|
| 23 | touch $@
|
|---|
| 24 |
|
|---|
| 25 | $(IPKG_LIBPTHREAD): $(WRKBUILD)/.built
|
|---|
| 26 | mkdir -p $(IDIR_LIBPTHREAD)/lib
|
|---|
| 27 | $(CP) $(STAGING_DIR)/lib/libpthread.so.* $(IDIR_LIBPTHREAD)/lib/
|
|---|
| 28 | $(CP) $(STAGING_DIR)/lib/libpthread-*.so $(IDIR_LIBPTHREAD)/lib/
|
|---|
| 29 | $(RSTRIP) $(IDIR_LIBPTHREAD)
|
|---|
| 30 | $(IPKG_BUILD) $(IDIR_LIBPTHREAD) $(PACKAGE_DIR)
|
|---|
| 31 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.