smlinux/base/c-ares/c-ares.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

34 lines
No EOL
730 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=c-ares
version=1.19.1
build=1sml
homepage="https://c-ares.haxx.se/"
download="https://c-ares.haxx.se/download/c-ares-$version.tar.gz"
desc="C library for asynchronous DNS requests including name resolves"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--enable-shared
make
make install DESTDIR=$pkg
cp LICENSE.md $pkgdocs/
mkfinalpkg
}
sha512sums="
d0eff8bd3cba8d1ecb9d19761eda0899efc4d0f29d8cc13757fe4154601cab5a5aafad9b40a9c4117fbe1964c493a58c389a274246f8fe3ac34fd7e4fadaafb6 c-ares-1.19.1.tar.lz
"