summaryrefslogtreecommitdiffstats
path: root/findutils/Pkgfile.old
blob: defadd4ba8ef4a2f9206a26b5cba0979324985e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Description: Basic directory searching utilities
# URL:         http://www.gnu.org/software/findutils/
# Maintainer:  CRUX System Team, core-ports at crux dot nu

name=findutils
version=4.4.2
release=1
source=(http://ftp.gnu.org/pub/gnu/$name/$name-$version.tar.gz)

build() {
    cd $name-$version
    ./configure --prefix=/usr \
                --disable-nls \
                --mandir=/usr/man
    make
    make DESTDIR=$PKG install
    rm $PKG/usr/bin/{updatedb,locate}
    rm $PKG/usr/man/man1/{updatedb.1,locate.1}
    rm -r $PKG/usr/{libexec,share,var,man/man5}
}