# HG changeset patch # User Pascal Bellard # Date 1408463221 -7200 # Node ID 6bc472de003f771be0498904da5fe76b43ec7455 # Parent 42ef8f008d56124279a6b30ef7cef99723605e07 Add mxml diff -r 42ef8f008d56 -r 6bc472de003f busybox-boot/receipt --- a/busybox-boot/receipt Tue Aug 19 13:33:31 2014 +0000 +++ b/busybox-boot/receipt Tue Aug 19 17:47:01 2014 +0200 @@ -89,7 +89,7 @@ arg loopfs && busybox losetup /dev/loop /mnt/\$root && mount /dev/loop /mnt arg subroot && cp /bin/busybox /mnt/\$root/dev/shm && chroot="\$root/dev/shm/busybox chroot \$root" -busybox [ -x /mnt/\$root\$init ] && exec busybox switch_root mnt \$chroot \$init +busybox [ -x /mnt/\$root/\$init ] && exec busybox switch_root mnt \$chroot \$init for i in \$(busybox --list) ; do ln /bin/busybox /bin/\$i 2> /dev/null ; done diff -r 42ef8f008d56 -r 6bc472de003f mxml-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mxml-dev/receipt Tue Aug 19 17:47:01 2014 +0200 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="mxml-dev" +VERSION="2.8" +CATEGORY="development" +SHORT_DESC="Minimal XML - Dom oriented library, development files." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="LGPL2" +WEB_SITE="http://www.minixml.org/" +WANTED="mxml" + +DEPENDS="mxml" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/pkgconfig $fs/usr/include + cp -a $src/mxml.h $fs/usr/include + cp -a $src/libmxml.a $fs/usr/lib + cp -a $src/mxml.pc $fs/usr/lib/pkgconfig +} diff -r 42ef8f008d56 -r 6bc472de003f mxml/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mxml/receipt Tue Aug 19 17:47:01 2014 +0200 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="mxml" +VERSION="2.8" +CATEGORY="system-tools" +SHORT_DESC="Minimal XML - Dom oriented library." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +LICENSE="LGPL2" +WEB_SITE="http://www.minixml.org/" +WGET_URL="http://www.msweet.org/files/project3/$TARBALL" + +DEPENDS="" +BUILD_DEPENDS="" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure --prefix=/usr \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $src/libmxml.so* $fs/usr/lib +}