17 lines
276 B
Text
17 lines
276 B
Text
|
#!/bin/sh
|
||
|
pkg_ver="7.77.0"
|
||
|
pkg_depends="openssl"
|
||
|
|
||
|
pkg_install() {
|
||
|
wget -O curl.tar.gz https://curl.se/download/curl-7.77.0.tar.gz
|
||
|
tar -xf curl.tar.gz
|
||
|
cd curl
|
||
|
./configure --prefix=/usr --with-openssl
|
||
|
make
|
||
|
make install DESTDIR="$1"
|
||
|
}
|
||
|
|
||
|
pkg_uninstall() {
|
||
|
make uninstall
|
||
|
}
|