summaryrefslogtreecommitdiff
path: root/repo/util/which.xibuild
blob: 2dd6a2387107fb18e41f2a7c43e09350a28b913d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

MAKEDEPS=(make )
DEPS=(glibc bash)

PKG_VER=2.21

SOURCE=http://ftp.gnu.org/gnu/which/which-$PKG_VER.tar.gz
DESC="A utility to show the full path of commands"

build () {
    CC=gcc ./configure --prefix=/usr 
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}