freewrt_2_0
|
Last change
on this file since eb945dd was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago |
|
major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent
git-svn-id: svn://www.freewrt.org/trunk/freewrt@600 afb5a338-a214-0410-bd46-81f09a774fd1
|
-
Property mode
set to
100644
|
|
File size:
1.3 KB
|
| Line | |
|---|
| 1 | # $FreeWRT$
|
|---|
| 2 | #-
|
|---|
| 3 | # This file is part of the FreeWRT project. FreeWRT is copyrighted
|
|---|
| 4 | # material, please see the LICENCE file in the top-level directory
|
|---|
| 5 | # or at http://www.freewrt.org/licence for details.
|
|---|
| 6 |
|
|---|
| 7 | include $(TOPDIR)/rules.mk
|
|---|
| 8 |
|
|---|
| 9 | PKG_NAME:= fprobe-ulog
|
|---|
| 10 | PKG_VERSION:= 1.1
|
|---|
| 11 | PKG_RELEASE:= 1
|
|---|
| 12 | PKG_MD5SUM:= cdb2e4edc47e8a3d5479eeabfb979ebc
|
|---|
| 13 |
|
|---|
| 14 | PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|---|
| 15 | PKG_SOURCE_URL:= @SF/fprobe
|
|---|
| 16 |
|
|---|
| 17 | include $(TOPDIR)/mk/package.mk
|
|---|
| 18 |
|
|---|
| 19 | $(eval $(call PKG_template,FPROBE_ULOG,fprobe-ulog,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 20 |
|
|---|
| 21 | $(WRKBUILD)/.configured:
|
|---|
| 22 | (cd $(WRKBUILD) ; \
|
|---|
| 23 | $(TARGET_CONFIGURE_OPTS) \
|
|---|
| 24 | CFLAGS="$(TARGET_CFLAGS)" \
|
|---|
| 25 | ./configure \
|
|---|
| 26 | --target=$(GNU_TARGET_NAME) \
|
|---|
| 27 | --host=$(GNU_TARGET_NAME) \
|
|---|
| 28 | --build=$(GNU_HOST_NAME) \
|
|---|
| 29 | --prefix=/usr \
|
|---|
| 30 | --exec-prefix=/usr \
|
|---|
| 31 | --bindir=/usr/bin \
|
|---|
| 32 | --sbindir=/usr/sbin \
|
|---|
| 33 | --libexecdir=/usr/lib \
|
|---|
| 34 | --datadir=/usr/share \
|
|---|
| 35 | --infodir=/usr/share/info \
|
|---|
| 36 | --mandir=/usr/share/man \
|
|---|
| 37 | --localstatedir=/var \
|
|---|
| 38 | --sysconfdir=/etc \
|
|---|
| 39 | --with-piddir=/var \
|
|---|
| 40 | --with-membulk=index8 \
|
|---|
| 41 | --with-hash=xor8 \
|
|---|
| 42 | --disable-nls \
|
|---|
| 43 | )
|
|---|
| 44 | touch $@
|
|---|
| 45 |
|
|---|
| 46 | $(WRKBUILD)/.built:
|
|---|
| 47 | $(MAKE) -C $(WRKBUILD)
|
|---|
| 48 | touch $@
|
|---|
| 49 |
|
|---|
| 50 | $(IPKG_FPROBE_ULOG):
|
|---|
| 51 | mkdir -p $(IDIR_FPROBE_ULOG)/usr/bin
|
|---|
| 52 | $(CP) $(WRKBUILD)/src/fprobe-ulog $(IDIR_FPROBE_ULOG)/usr/bin/
|
|---|
| 53 | $(RSTRIP) $(IDIR_FPROBE_ULOG)
|
|---|
| 54 | $(IPKG_BUILD) $(IDIR_FPROBE_ULOG) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.