update: c-ares
This commit is contained in:
parent
ee34792885
commit
0e77bf7146
@ -1,2 +1,6 @@
|
|||||||
|
# 1.33.0
|
||||||
|
- Updated to 1.33.0
|
||||||
|
- Changed source URL to github
|
||||||
|
|
||||||
# 1.19.1
|
# 1.19.1
|
||||||
First version
|
First version
|
||||||
|
@ -1,19 +1,23 @@
|
|||||||
NAME="c-ares"
|
NAME="c-ares"
|
||||||
DESC="C library for asynchronous DNS requests"
|
DESC="C library for asynchronous DNS requests"
|
||||||
VERSION="1.19.1"
|
VERSION="1.33.0"
|
||||||
FILES=("https://c-ares.haxx.se/download/c-ares-$VERSION.tar.gz")
|
|
||||||
HASHES=("dafc5825a92dc907e144570e4e75a908")
|
FILES=("https://github.com/c-ares/c-ares/archive/refs/tags/v${VERSION}.tar.gz")
|
||||||
DEPENDS=()
|
HASHES=("3ff8f6f74a4f2b9267d06b4ffc1f082918ae8316c7f37c5a52f1a6e7a9694df7")
|
||||||
|
|
||||||
|
DEPENDS=("glibc")
|
||||||
|
BUILD=("cmake")
|
||||||
|
|
||||||
PACKAGE() {
|
PACKAGE() {
|
||||||
tar xf $NAME-$VERSION.tar.gz
|
tar xf "v${VERSION}.tar.gz"
|
||||||
cd $NAME-$VERSION
|
cd "${NAME}-${VERSION}"
|
||||||
|
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
|
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
|
||||||
make && make DESTDIR="$ROOTDIR" install
|
make
|
||||||
|
make DESTDIR="${ROOTDIR}" install
|
||||||
|
|
||||||
cd ../.. && rm -r $NAME-$VERSION
|
cd ../.. && rm -r "${NAME}-${VERSION}"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user