# HG changeset patch # User Alexander Medvedev # Date 1270644766 0 # Node ID 35c9f45749e60c38a48b352a29a5384080cfccde # Parent 07fa91a3f97f4f4dec6665dc3a9e3f29b030fe51 Add liblinebreak diff -r 07fa91a3f97f -r 35c9f45749e6 liblinebreak-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/liblinebreak-dev/receipt Wed Apr 07 12:52:46 2010 +0000 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="liblinebreak-dev" +VERSION="2.0" +CATEGORY="development" +SHORT_DESC="Line breaking library" +MAINTAINER="devl547@gmail.com" +WEB_SITE="http://vimgadgets.sourceforge.net/liblinebreak/" +WANTED="liblinebreak" + +# 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/include $fs/usr +} + diff -r 07fa91a3f97f -r 35c9f45749e6 liblinebreak/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/liblinebreak/receipt Wed Apr 07 12:52:46 2010 +0000 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="liblinebreak" +VERSION="2.0" +CATEGORY="development" +SHORT_DESC="Line breaking library" +MAINTAINER="devl547@gmail.com" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://vimgadgets.sourceforge.net/liblinebreak/" +WGET_URL="http://downloads.sourceforge.net/project/vimgadgets/$PACKAGE/$VERSION/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr $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 +} +