# HG changeset patch # User Pascal Bellard # Date 1299236045 -3600 # Node ID 1f84f54aac7ae08b29a86fc8514fd58b91ea8133 # Parent 01afdb73ff38a678c0a912043bf0592ea240e915 cndrvcups-common: do not compute _pkg diff -r 01afdb73ff38 -r 1f84f54aac7a cndrvcups-common/receipt --- a/cndrvcups-common/receipt Fri Mar 04 11:48:11 2011 +0100 +++ b/cndrvcups-common/receipt Fri Mar 04 11:54:05 2011 +0100 @@ -17,29 +17,27 @@ compile_rules() { - src="$WOK/$PACKAGE/$SOURCE/Sources" - cd $src + cd $src/Sources [ -d cndrvcups-common-$VERSION ] || tar xzf cndrvcups-common-${VERSION}-1.tar.gz cd $src/cndrvcups-common-$VERSION/buftool ./autogen.sh --prefix=/usr && make && - make DESTDIR=$PWD/_pkg LIBDIR=/usr/lib install + make DESTDIR=$DESTDIR LIBDIR=/usr/lib install cd $src/cndrvcups-common-$VERSION/cpca ./autogen.sh --prefix=/usr && make && - make DESTDIR=$PWD/_pkg LIBDIR=$PWD/_pkg/usr/lib install + make DESTDIR=$DESTDIR LIBDIR=$PWD/_pkg/usr/lib install cd $src/cndrvcups-common-$VERSION/cngplp ./autogen.sh --prefix=/usr && make && \ - make DESTDIR=$PWD/_pkg install + make DESTDIR=$DESTDIR install cd $src/cndrvcups-common-$VERSION/c3plmod_ipc - make - + make && cp -a $src/Sources $DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -51,8 +49,6 @@ $fs/usr/share/licenses/$PACKAGE \ $fs/etc - _pkg="$WOK/$PACKAGE/$SOURCE/Sources" - cp -a $_pkg/cndrvcups-common-$VERSION/libs/*.so* $fs/usr/lib cp -a $_pkg/cndrvcups-common-$VERSION/libs/cnpkmodule $fs/usr/bin/ cp -a $_pkg/cndrvcups-common-$VERSION/libs/c3pldrv $fs/usr/bin/