This repository has been archived by the owner on Sep 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 374
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.. which is (currently) disabled since it needs egl that CentOS 5.11 does not provide so this does not need to be packaged (yet).
- Loading branch information
1 parent
e9440e7
commit e1d47bf
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/sh | ||
|
||
make OPT="${CFLAGS} -fPIC -DPIC" \ | ||
ZLIB=no SHARED=no \ | ||
PREFIX=${PREFIX} \ | ||
SHAREDIR=${PREFIX}/share/hwdata \ | ||
MANDIR=${PREFIX}/share/man \ | ||
SBINDIR=${PREFIX}/bin \ | ||
lib/libpci.a | ||
cp lib/libpci.a ${PREFIX}/ | ||
make clean | ||
make OPT="${CFLAGS}" \ | ||
ZLIB=no \ | ||
SHARED=yes \ | ||
PREFIX=${PREFIX} \ | ||
SBINDIR=${PREFIX}/bin \ | ||
SHAREDIR=${PREFIX}/share/hwdata \ | ||
MANDIR=${PREFIX}/share/man \ | ||
all | ||
make SHARED=yes \ | ||
PREFIX=${PREFIX} \ | ||
SBINDIR=${PREFIX}/bin \ | ||
SHAREDIR=${PREFIX}/share/hwdata \ | ||
MANDIR=${PREFIX}/share/man \ | ||
install \ | ||
install-lib | ||
rm -rf ${PREFIX}/{sbin/update-pciids,share/{man/man8/update-pciids.8,hwdata}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{% set pkgname = 'pciutils' %} | ||
{% set ver= '3.5.1' %} | ||
|
||
package: | ||
name: {{ pkgname }} | ||
version: {{ ver }} | ||
|
||
source: | ||
url: https://www.kernel.org/pub/software/utils/{{ pkgname }}/{{ pkgname }}-{{ ver }}.tar.gz | ||
sha1: 021f58fd080df0cb4991ab4e96d80f67b7883a70 | ||
patches: | ||
|
||
build: | ||
detect_binary_files_with_prefix: true | ||
|
||
requirements: | ||
build: | ||
- gcc | ||
run: | ||
- libgcc | ||
|
||
about: | ||
home: http://mj.ucw.cz/sw/pciutils/ | ||
license: GPL2 |