Skip to content
Permalink
bdf98a6d92
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 51 lines (38 sloc) 1 KB
#!/usr/bin/env beesh
# BEE_VERSION pciutils-3.7.0.2022.03.22-0
# PCIURL="http://pci-ids.ucw.cz/v2.2/pci.ids"
PCIURL="https://beehive.molgen.mpg.de/b6ca17b99d510801ca3b39a27e112ddc/pci.ids"
SRCURL[0]="https://beehive.molgen.mpg.de/e6e20482b4f25c5186e6a753c5edc361/pciutils-3.7.0.tar.xz"
#SRCURL[0]="https://www.kernel.org/pub/software/utils/pciutils/pciutils-${PKGVERSION[3]}.tar.xz"
# PATCHURL+=()
# build_in_sourcedir
# sourcesubdir_append src
#mee_extract() {
# bee_extract "${@}"
#}
mee_getsources_post() {
mkdir -p ${F}
# force reload
rm -fv ${F}/pci.ids
# fetch_one_file "http://pci-ids.ucw.cz/v2.2/pci.ids"
fetch_one_file ${PCIURL}
}
#mee_patch() {
# bee_patch "${@}"
#}
#mee_configure() {
# bee_configure
#}
mee_build() {
bee_build \
SHAREDIR=${DATAROOTDIR}/hwdata \
SHARED=yes \
ZLIB=no
}
mee_install() {
bee_install install-lib \
SHAREDIR=${DATAROOTDIR}/hwdata \
SHARED=yes
IDS=${D}${DATAROOTDIR}/hwdata/pci.ids
cp -v ${F}/pci.ids ${IDS}
}