-
-
Save thotypous/219170b3099c2694cfb4918f2e56fcb9 to your computer and use it in GitHub Desktop.
dell-cctk APKBUILD
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
# Contributor: Paulo Matias <matias@ufscar.br> | |
# Maintainer: Paulo Matias <matias@ufscar.br> | |
pkgname="dell-cctk" | |
_pkgver="2.2.1-142" | |
pkgver="${_pkgver/-/.}" | |
pkgrel=0 | |
pkgdesc="Dell Client Configuration Toolkit" | |
url="https://www.dell.com/support/home/br/pt/brbsdt1/drivers/driversdetails?driverid=k3rng" | |
arch="all" | |
license="propietary" | |
makedepends="cpio rpm2cpio" | |
depends="glibc" | |
install="" | |
source="https://downloads.dell.com/FOLDER01805178M/1/cctk-linux-${_pkgver}.tar.gz | |
cctk-wrapper | |
" | |
options="!check !fhs" | |
package() { | |
cd "$srcdir" | |
for _file in *.rpm; do | |
rpm2cpio "${_file}" | cpio -id | |
done | |
install -Dm0755 cctk-wrapper "$pkgdir"/usr/bin/cctk | |
install -dm0755 "$pkgdir"/opt/dell/srvadmin/etc | |
cat opt/dell/srvadmin/etc/omreg.d/*.cfg >"$pkgdir"/opt/dell/srvadmin/etc/omreg.cfg | |
cp -r opt "$pkgdir" | |
} | |
sha512sums="2472314c507bdeb31a39a4096583cb3e5689db0dcbbad1cf57bffb4a8a22ea2f1de3a3565a567b6ab0a6eee8a6ab85ad7c3efb9739ea67be46142310a650cedf cctk-linux-2.2.1-142.tar.gz | |
855cdb3fe9f5818558239821025eba62c9182b99027c25bf673c5778d5fdfb91fbf05fd35b0cf509dc596fa6b453fd0f1b41814e78e8276c34c28c3c7f9d1582 cctk-wrapper" |
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
#!/bin/sh | |
LD_LIBRARY_PATH="/opt/dell/srvadmin/lib64" exec /opt/dell/toolkit/bin/cctk "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment