Re: boost : cuisson difficile |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/slitaz Archives
]
On Tue, 22 Apr 2008 23:18:08 +0200
Eric Joseph-Alexandre <erjo@xxxxxxxxxx> wrote:
> Il faut aussi redéfinir la variable $_pkg
> _pkg=${PACKAGE]_${VERSION}
Salut,
Après modification de la recette (voir plus bas) j'obtiens :
Bulding boost with the receipt...
================================================================================
cp: cannot stat '/home/slitaz/wok/boost/boost-1_35_0/_pkg/usr/bin': Aucun fichier ou répertoire de ce type
Executing strip on all files... [ OK ]
Copying the receipt... [ OK ]
Creating the list of files... [ OK ]
Compressing the fs...
Creating full cpio archive...
Restoring original package tree... 1 blocks
================================================================================
Package boost (1_35_0) generated.
Size : 4.0k /home/slitaz/packages/boost-1_35_0.tazpkg
soit toujours un paquet "boost-1_35_0.tazpkg" et non pas "boost_1_35_0.tazpkg"
m'enfin :p
Je vais continuer à cogiter ...
+
npni
---------------------------------------------
# SliTaz package receipt.
PACKAGE="boost"
VERSION="1_35_0"
CATEGORY="extra"
SHORT_DESC="C++ libraries."
MAINTAINER="fraazz@xxxxxxxxxx"
DEPENDS=""
TARBALL="${PACKAGE}_$VERSION.tar.bz2"
WEB_SITE="http://boost.org/"
WGET_URL="http://garr.dl.sourceforge.net/boost/$TARBALL"
_pkg="${PACKAGE}_$VERSION"
# Rules to configure and make the package.
compile_rules()
{
cd boost_$VERSION
./configure --prefix=/usr \
make
make DESTDIR=$PWD/_pkg install
}
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
mkdir -p $fs/usr
cp -a $_pkg/usr/bin $fs/usr
}
--------------------------------------------------
---
SliTaz GNU/Linux Mailing list.
Web site : http://www.slitaz.org/