wok rev 17043

Add mxml
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 19 17:47:01 2014 +0200 (2014-08-19)
parents 42ef8f008d56
children 4ec61c378631
files busybox-boot/receipt mxml-dev/receipt mxml/receipt
line diff
     1.1 --- a/busybox-boot/receipt	Tue Aug 19 13:33:31 2014 +0000
     1.2 +++ b/busybox-boot/receipt	Tue Aug 19 17:47:01 2014 +0200
     1.3 @@ -89,7 +89,7 @@
     1.4  arg loopfs && busybox losetup /dev/loop /mnt/\$root && mount /dev/loop /mnt
     1.5  arg subroot && cp /bin/busybox /mnt/\$root/dev/shm &&
     1.6  	chroot="\$root/dev/shm/busybox chroot \$root"
     1.7 -busybox [ -x /mnt/\$root\$init ] && exec busybox switch_root mnt \$chroot \$init
     1.8 +busybox [ -x /mnt/\$root/\$init ] && exec busybox switch_root mnt \$chroot \$init
     1.9  
    1.10  for i in \$(busybox --list) ; do ln /bin/busybox /bin/\$i 2> /dev/null ; done
    1.11  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/mxml-dev/receipt	Tue Aug 19 17:47:01 2014 +0200
     2.3 @@ -0,0 +1,21 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="mxml-dev"
     2.7 +VERSION="2.8"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Minimal XML - Dom oriented library, development files."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="LGPL2"
    2.12 +WEB_SITE="http://www.minixml.org/"
    2.13 +WANTED="mxml"
    2.14 +
    2.15 +DEPENDS="mxml"
    2.16 +
    2.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.18 +genpkg_rules()
    2.19 +{
    2.20 +	mkdir -p $fs/usr/lib/pkgconfig $fs/usr/include
    2.21 +	cp -a $src/mxml.h $fs/usr/include
    2.22 +	cp -a $src/libmxml.a $fs/usr/lib
    2.23 +	cp -a $src/mxml.pc $fs/usr/lib/pkgconfig
    2.24 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/mxml/receipt	Tue Aug 19 17:47:01 2014 +0200
     3.3 @@ -0,0 +1,30 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="mxml"
     3.7 +VERSION="2.8"
     3.8 +CATEGORY="system-tools"
     3.9 +SHORT_DESC="Minimal XML - Dom oriented library."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.12 +LICENSE="LGPL2"
    3.13 +WEB_SITE="http://www.minixml.org/"
    3.14 +WGET_URL="http://www.msweet.org/files/project3/$TARBALL"
    3.15 +
    3.16 +DEPENDS=""
    3.17 +BUILD_DEPENDS=""
    3.18 +
    3.19 +# Rules to configure and make the package.
    3.20 +compile_rules()
    3.21 +{
    3.22 +	./configure --prefix=/usr \
    3.23 +		$CONFIGURE_ARGS &&
    3.24 +	make &&
    3.25 +	make DESTDIR=$DESTDIR install
    3.26 +}
    3.27 +
    3.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.29 +genpkg_rules()
    3.30 +{
    3.31 +	mkdir -p $fs/usr/lib
    3.32 +	cp -a $src/libmxml.so* $fs/usr/lib
    3.33 +}