smlinux/base/dmidecode/dmidecode.SMBuild
PktSurf a6bc50adc7 Added elfutils and fuse to base
Removed build options that placed elf binaries in /bin
Removed executable bit from some build files
2024-10-29 15:25:51 +05:30

31 lines
727 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=dmidecode
version=3.2
build=1sml
homepage="https://www.nongnu.org/dmidecode/"
download="http://download.savannah.gnu.org/releases/dmidecode/dmidecode-$version.tar.xz"
desc="DMI table decoder"
requires="musl"
apparch="x86_64"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
make
make install DESTDIR=$pkg prefix=/usr sbindir=/usr/bin mandir="/usr/share/man"
cp LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
fb38256f4e577d015f7696e5bfe9bf023ce2448ba213deb40d825955da87728cef6d63050af0fe4f1f95f2b9a109629535c183f339ecb9a3ca956b6c3e2f574e dmidecode-3.2.tar.lz
"