wok-4.x rev 6739
Added rarian.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Oct 16 19:48:05 2010 +0000 (2010-10-16) |
parents | e79cbcd6df76 |
children | 3511b6184c8a |
files | rarian-dev/receipt rarian/receipt rarian/stuff/user-segfault.patch |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/rarian-dev/receipt Sat Oct 16 19:48:05 2010 +0000 1.3 @@ -0,0 +1,20 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="rarian-dev" 1.7 +VERSION="0.8.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="devel files for rarian" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="rarian" 1.12 +WEB_SITE="http://rarian.freedesktop.org/" 1.13 +WANTED="rarian" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/lib 1.19 + cp -a $_pkg/usr/include $fs/usr 1.20 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.21 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.22 +} 1.23 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/rarian/receipt Sat Oct 16 19:48:05 2010 +0000 2.3 @@ -0,0 +1,38 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="rarian" 2.7 +VERSION="0.8.1" 2.8 +CATEGORY="misc" 2.9 +SHORT_DESC="Documentation meta-data library, designed as a replacement for Scrollkeeper." 2.10 +MAINTAINER="slaxemulator@gmail.com" 2.11 +DEPENDS="" 2.12 +BUILD_DEPENDS="libxslt-dev" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.14 +WEB_SITE="http://rarian.freedesktop.org/" 2.15 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + patch -p0 -i ../stuff/user-segfault.patch 2.22 + ./configure \ 2.23 + --prefix=/usr \ 2.24 + --infodir=/usr/share/info \ 2.25 + --mandir=/usr/share/man \ 2.26 + --sysconfdir=/etc \ 2.27 + --localstatedir=/var \ 2.28 + --disable-static \ 2.29 + $CONFIGURE_ARGS && 2.30 + make && make DESTDIR=$PWD/_pkg install 2.31 +} 2.32 + 2.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.34 +genpkg_rules() 2.35 +{ 2.36 + mkdir -p $fs/usr/lib $fs/usr/share/librarian 2.37 + cp -a $_pkg/usr/bin $fs/usr 2.38 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.39 + cp -a $_pkg/usr/share/librarian/rarian-sk-cl.xml $fs/usr/share/librarian 2.40 +} 2.41 +
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/rarian/stuff/user-segfault.patch Sat Oct 16 19:48:05 2010 +0000 3.3 @@ -0,0 +1,14 @@ 3.4 +--- util/rarian-sk-get-cl.cpp~ 2008-07-28 19:23:28.000000000 +0200 3.5 ++++ util/rarian-sk-get-cl.cpp 2008-07-28 19:23:28.000000000 +0200 3.6 +@@ -160,6 +160,11 @@ 3.7 + { 3.8 + char *filename = NULL; 3.9 + char *user = getenv ("USERNAME"); 3.10 ++ 3.11 ++ if (user == NULL) { 3.12 ++ user = getenv ("USER"); 3.13 ++ } 3.14 ++ 3.15 + char *basepath = NULL; 3.16 + int i=0; 3.17 + int last = 0;