ports

recipes for building multiple softwares
git clone git://z3bra.org/ports
Log | Files | Refs

commit 2d7a4eda188ba6b26ed18c50887470117f8589e4
parent 74cceb21544d13b4801ad8de0b4601ae268db1a6
Author: z3bra <willyatmailoodotorg>
Date:   Sun Aug 16 16:47:47 2015

curl: new port

Diffstat:
 curl/makeme | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+), 0 deletions(-)

diff --git a/curl/makeme b/curl/makeme @@ -0,0 +1,37 @@ +name=curl +version=7.42.1 +source=http://curl.haxx.se/download/$name-$version.tar.bz2 + +package() { + curl -# -O $source + tar xj < $name-$version.tar.bz2 + + cd $name-$version + CC="$CC -static" ./configure --prefix='' \ + --target="${TOOLCHAIN_TRIPLET}" \ + --mandir=/usr/share/man \ + --without-libidn \ + --disable-shared \ + --disable-manual \ + --disable-file \ + --disable-ldap \ + --disable-ldaps \ + --disable-rtsp \ + --disable-dict \ + --disable-telnet \ + --disable-tftp \ + --disable-imap \ + --disable-imaps \ + --disable-pop3 \ + --disable-pop3s \ + --disable-smb \ + --disable-smbs \ + --disable-smtp \ + --disable-smtps \ + --enable-static + + make CC="$CC" LDFLAGS="-all-static $LDFLAGS" + make DESTDIR=$WORKDIR/$name install + + find $WORKDIR/$name -name '*.la' -delete +}