pkgname: libmicrohttpd pkgver: '1.0.10' pkgrel: '1' pkgdesc: 'a small C library that is supposed to make it easy to run an HTTP server as part of another application.' url: 'http://www.gnu.org/software/libmicrohttpd/' arch: x86_64 depends: [] makedepends: - curl - file - gnutls - libgcrypt source: - 'ftp://ftp.gnu.org/gnu/libmicrohttpd/${pkgname}-${pkgver}.tar.gz' sha256sums: - SKIP build: | cd ${pkgname}-${pkgver} ./configure --prefix=/usr --disable-dependency-tracking --enable-largefile \ --enable-curl --enable-messages --with-pic --enable-https --disable-examples make make DESTDIR=${PKGDIR} install # Obsolet lib rm -f ${PKGDIR}/usr/lib/libmicrohttpd.la package: | true update: | local url ext url="https://ftp.gnu.org/gnu/${pkgname}/" ext=".tar.gz" lynx -read_timeout=20 -dump -listonly -nonumbers \ $url?C=M\;O=A|grep ${pkgname}-[0-9]|grep [0-9]$ext$| \ sed "s@$url${pkgname}-@@"|sed "s@$ext@@"|tail -1