summaryrefslogtreecommitdiff
path: root/botan/Pkgfile
blob: 90b97516710b31b172fd6d53ab3ec18914b55bbf (plain)
    1 # Description: Crypto and TLS for Modern C++
    2 # URL: https://botan.randombit.net/
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: bzip2 sqlite3 xz
    5 # Optional: boost
    6 
    7 name=botan
    8 version=2.19.3
    9 release=1
   10 source=(https://botan.randombit.net/releases/Botan-$version.tar.xz)
   11 
   12 build() {
   13   cd ${name^}-$version
   14 
   15   prt-get isinst boost && PKGMK_BOTAN+=' --with-boost'
   16 
   17   /usr/bin/python3 ./configure.py --prefix=/usr $PKGMK_BOTAN \
   18     --with-bzip \
   19     --with-zlib \
   20     --with-sqlite3 \
   21     --with-os-feature=getrandom
   22   make
   23   make DESTDIR=$PKG install
   24 
   25   rm -r $PKG/usr/share
   26 }

Generated by cgit