diff options
author | Lukc <lukc@upyum.com> | 2011-01-08 17:02:51 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2011-01-08 17:02:51 +0100 |
commit | 0e9d94588a7865e7f3434750671bd6100706f063 (patch) | |
tree | 414d6c5ff43062d56d24885a89060eb361b89517 /time/Pkgfile | |
parent | 6aeb1a36bfffc8fdfc2fc15e1edaf9064f4f9b80 (diff) | |
download | base-0e9d94588a7865e7f3434750671bd6100706f063.tar.gz base-0e9d94588a7865e7f3434750671bd6100706f063.tar.bz2 base-0e9d94588a7865e7f3434750671bd6100706f063.tar.xz base-0e9d94588a7865e7f3434750671bd6100706f063.zip |
Correction à cause de cet enfoiré de développeur de pkg++ qui casse toujours tout. :@
Diffstat (limited to 'time/Pkgfile')
-rw-r--r-- | time/Pkgfile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/time/Pkgfile b/time/Pkgfile index 70d7046..041d30e 100644 --- a/time/Pkgfile +++ b/time/Pkgfile @@ -10,11 +10,14 @@ release=1 source=(http://ftp.gnu.org/gnu/time/$name-$version.tar.gz time.1) build () { - cd $name-$version; - ./configure --prefix=$prefix; - make; - make prefix=$PKG$prefix install; - #rm -rf $PKG/usr/info; - mkdir -p $PKG$mandir/man1; - cp ../$name.1 $PKG$mandir/man1 + cd $name-$version; + ./configure \ + ${CHOST:+--host=$CHOST} \ + ${CBUILD:+--build=$CBUILD} \ + --prefix=$prefix; + make; + make prefix=$PKG$prefix install; + #rm -rf $PKG/usr/info; + mkdir -p $PKG$mandir/man1; + cp ../$name.1 $PKG$mandir/man1 } |