CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
9abe5fc2b88d0f86a3fb1a383890acfd08fafc70
[crossrootfs.git] / patch / Pkgfile
1 # Description: GNU patch
2 # URL: http://www.gnu.org/software/patch/patch.html
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System, crux-arm at mikeux dot dyndns dot org
5 # Depends on:
6
7 name=patch
8 version=2.6
9 release=1
10 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
11
12 build() {
13 cd $name-$version
14
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr
18
19 make
20 make prefix=$PKG/usr install
21 }