summaryrefslogtreecommitdiff
path: root/elements/unmaintained/networking-utils/libnet.bst
blob: d9094bcddf388e440936c060078db7cba44bf973 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
kind: manual
depends:
- foundation.bst
sources:
- kind: git
  url: upstream:libnet
  track: libnet-1.2
  ref: 05df365769597e1d64d02af931d6127762ff2658
config:
  pre-configure-commands:
  - sed -i 's@doc @@' libnet/Makefile.am
  - sed -i 's@doc/.*Makefile@@' libnet/configure.ac
  - cd libnet && ./autogen.sh
  configure-commands:
  - 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