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
|
||||
First version
|
||||
|
@ -1,19 +1,23 @@
|
||||
NAME="c-ares"
|
||||
DESC="C library for asynchronous DNS requests"
|
||||
VERSION="1.19.1"
|
||||
FILES=("https://c-ares.haxx.se/download/c-ares-$VERSION.tar.gz")
|
||||
HASHES=("dafc5825a92dc907e144570e4e75a908")
|
||||
DEPENDS=()
|
||||
VERSION="1.33.0"
|
||||
|
||||
FILES=("https://github.com/c-ares/c-ares/archive/refs/tags/v${VERSION}.tar.gz")
|
||||
HASHES=("3ff8f6f74a4f2b9267d06b4ffc1f082918ae8316c7f37c5a52f1a6e7a9694df7")
|
||||
|
||||
DEPENDS=("glibc")
|
||||
BUILD=("cmake")
|
||||
|
||||
PACKAGE() {
|
||||
tar xf $NAME-$VERSION.tar.gz
|
||||
cd $NAME-$VERSION
|
||||
tar xf "v${VERSION}.tar.gz"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
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