freewrt_1_0
freewrt_2_0
|
Last change
on this file since 45e7b1b 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.1 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:= pciutils
|
|---|
| 10 | PKG_VERSION:= 2.2.1
|
|---|
| 11 | PKG_RELEASE:= 1
|
|---|
| 12 | PKG_MD5SUM:= c18e2a5f04e9abae5a42439de294f086
|
|---|
| 13 |
|
|---|
| 14 | PKG_SOURCE_URL:= http://www.kernel.org/pub/software/utils/pciutils/ \
|
|---|
| 15 | ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
|
|---|
| 16 | PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|---|
| 17 |
|
|---|
| 18 | include $(TOPDIR)/mk/package.mk
|
|---|
| 19 |
|
|---|
| 20 | $(eval $(call PKG_template,PCIUTILS,pciutils,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
|---|
| 21 |
|
|---|
| 22 | $(WRKBUILD)/.configured:
|
|---|
| 23 | touch $@
|
|---|
| 24 |
|
|---|
| 25 | $(WRKBUILD)/.built:
|
|---|
| 26 | $(MAKE) -C $(WRKBUILD) \
|
|---|
| 27 | CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" IDSDIR="/usr/share" HOST=$(GNU_TARGET_NAME)
|
|---|
| 28 | touch $@
|
|---|
| 29 |
|
|---|
| 30 | $(IPKG_PCIUTILS):
|
|---|
| 31 | install -d -m0755 $(IDIR_PCIUTILS)/usr/sbin
|
|---|
| 32 | install -d -m0755 $(IDIR_PCIUTILS)/usr/share
|
|---|
| 33 | $(CP) $(WRKBUILD)/{lspci,setpci} $(IDIR_PCIUTILS)/usr/sbin/
|
|---|
| 34 | $(CP) $(WRKBUILD)/pci.ids $(IDIR_PCIUTILS)/usr/share/
|
|---|
| 35 | $(RSTRIP) $(IDIR_PCIUTILS)/
|
|---|
| 36 | $(IPKG_BUILD) $(IDIR_PCIUTILS) $(PACKAGE_DIR)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.