smlinux/base/c-ares/c-ares.SMBuild
PktSurf 64cd7eb8fe Updated several more build files in base in view of switch to /usr directory for non-elf files
Upgraded base/c-ares to 1.19.1
Disabled native language support in base/bison,cpio,flex
2024-10-16 21:35:42 +05:30

34 lines
No EOL
730 B
Text
Executable file

# 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
"