kind: manual
depends:
- foundation.bst
sources:
- kind: git
  url: upstream:libnet
  track: libnet-1.2
  ref: 05df365769597e1d64d02af931d6127762ff2658
config:
  configure-commands:
  - sed -i 's@doc @@' libnet/Makefile.am
  - sed -i 's@doc/.*Makefile@@' libnet/configure.ac
  - cd libnet && ./autogen.sh
  - cd libnet && ./configure --prefix="%{prefix}" --disable-samples --enable-shared=yes
    --with-pic
  build-commands:
  - cd libnet && make
  install-commands:
  - cd libnet && make DESTDIR="%{install-root}" install
