summaryrefslogtreecommitdiff
path: root/elements/core/e2fsprogs.bst
blob: 567f95620a416481293987dd621edecde44f50ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
kind: autotools
depends:
- gnu-toolchain.bst
- core/pkg-config.bst
- core/util-linux.bst
- core/file.bst
sources:
- kind: git
  url: upstream:e2fsprogs
  track: v1.43.7
  ref: 3427917edca335d2cc4258cff8ab105c840298a4
config:
  configure-commands:
  - |
    ./configure --prefix="%{prefix}" --sysconfdir=/etc \
      --disable-libuuid --disable-uuidd --disable-libblkid
  build-commands:
  - make CFLAGS="-g -O2 -DHAVE_CONFIG_H -fPIC"
  install-commands:
  - |
    td="$(mktemp -d)"
    make DESTDIR="$td" install
    make DESTDIR="$td" install-libs
    find "$td" \( -name blkid -o -name findfs -o \) -delete
    find "$td" \( -name blkid.8 -o -name findfs.8 \) -delete
    mv "$td"/* "%{install-root}"