Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
pciutils: Added for Qt5 QtWebEngine
Browse files Browse the repository at this point in the history
.. 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
mingwandroid committed Jul 7, 2016
1 parent e9440e7 commit e1d47bf
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pciutils/build.sh
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}}
24 changes: 24 additions & 0 deletions pciutils/meta.yaml
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

0 comments on commit e1d47bf

Please sign in to comment.