From e6748bffd3af731c4f4b01758caaf9879c1932b2 Mon Sep 17 00:00:00 2001 From: Lukc Date: Tue, 21 Dec 2010 11:59:50 +0100 Subject: Recette de prt-get mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prt-get/Pkgfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'prt-get') diff --git a/prt-get/Pkgfile b/prt-get/Pkgfile index 4b72cd0..5161291 100644 --- a/prt-get/Pkgfile +++ b/prt-get/Pkgfile @@ -12,7 +12,11 @@ build () { cd ${name}-${version}; patch -p1 -i $SRC/$name.diff; - ./configure --prefix=$prefix --mandir=$mandir; + ./configure \ + ${CHOST:+--build=${CHOST}} \ + ${CTARGET:+--host=${CTARGET}} \ + --prefix=$prefix \ + --mandir=$mandir; make; make DESTDIR=$PKG install; install -m 644 $SRC/prt-get.conf $PKG/etc/; -- cgit v1.2.3-70-g09d2