summaryrefslogtreecommitdiffstats
path: root/btrfs-progs/Pkgfile.old
blob: 99e931047172b8591befd8dedbdb8421db175ee7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Description: Filesystem utilities for btrfs
# URL:         http://btrfs.wiki.kernel.org
# Maintainer:  CRUX System Team, core-ports at crux dot nu
# Depends on:  util-linux-ng

name=btrfs-progs
version=075587c
release=3
source=(http://crux.nu/files/distfiles/$name-unstable-$version.tar.gz
        $name.diff)

build() {
    cd $name-unstable-$version

    # Fix the build with glibc 2.12:
    patch -p1 -i $SRC/$name.diff

    make

    install -d -m 755 $PKG/usr/man/man8
    make prefix=/ bindir=/sbin mandir=/usr/man DESTDIR=$PKG install
}