# HG changeset patch # User Eric Joseph-Alexandre # Date 1324110446 -3600 # Node ID ffcbe34d8380cff4d98a266b3a5d4c545c1450cc # Parent d70cd76f3c2f74bead80f2277d44761cf0f531e0 Add: yaml, yaml-dev diff -r d70cd76f3c2f -r ffcbe34d8380 yaml-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/yaml-dev/receipt Sat Dec 17 09:27:26 2011 +0100 @@ -0,0 +1,23 @@ +# SliTaz package receipt. + +PACKAGE="yaml-dev" +VERSION="0.1.4" +CATEGORY="development" +SHORT_DESC="yaml dev files." +MAINTAINER="erjo@slitaz.org" +WEB_SITE="http://pyyaml.org/wiki/LibYAML" +WANTED="yaml" + +DEPENDS="yaml" + + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include $fs/usr + +} + diff -r d70cd76f3c2f -r ffcbe34d8380 yaml/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/yaml/receipt Sat Dec 17 09:27:26 2011 +0100 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="yaml" +VERSION="0.1.4" +CATEGORY="system-tools" +SHORT_DESC="YAML 1.1 parser and emitter written in C." +MAINTAINER="erjo@slitaz.org" +WEB_SITE="http://pyyaml.org/wiki/LibYAML" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://pyyaml.org/download/libyaml/$TARBALL" + +DEPENDS="" +BUILD_DEPENDS="" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure $CONFIGURE_ARGS && make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib +}