# HG changeset patch # User Matthew Sheets # Date 1243853143 0 # Node ID 73d44cf30650ae085dc4cbc427e550df5d1f1b57 # Parent 8c6249dc7d4e45a18693ce0dc076816f2fa3b75a Add: libffi diff -r 8c6249dc7d4e -r 73d44cf30650 libffi-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libffi-dev/receipt Mon Jun 01 10:45:43 2009 +0000 @@ -0,0 +1,22 @@ +# SliTaz package receipt. + +PACKAGE="libffi-dev" +VERSION="3.0.8" +CATEGORY="development" +SHORT_DESC="libffi devel files." +WEB_SITE="http://sourceware.org/libffi/" +MAINTAINER="rcx@zoominternet.net" +WANTED="libffi" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/lib/$WANTED-$VERSION $fs/usr/lib + + # Copy the headers to the standard location + mkdir -p $fs/usr/include/$WANTED-$VERSION + cp -a $_pkg/usr/lib/$WANTED-$VERSION/include/* $fs/usr/include/$WANTED-$VERSION +} diff -r 8c6249dc7d4e -r 73d44cf30650 libffi/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libffi/receipt Mon Jun 01 10:45:43 2009 +0000 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="libffi" +VERSION="3.0.8" +CATEGORY="development" +SHORT_DESC="A portable foreign function interface library." +MAINTAINER="rcx@zoominternet.net" +DEPENDS="glibc-base" +BUILD_DEPENDS="slitaz-toolchain" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://sourceware.org/libffi/" +WGET_URL="ftp://sourceware.org/pub/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --includedir=/usr/share/include \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +} +