# HG changeset patch # User Paul Issott # Date 1395173212 0 # Node ID bdce2e1088dff4f648d0ed3b5a4394a4795898d8 # Parent a08284cf9e619c30fced6fef2352dcd98e468d52 Add libcaca (hopefully) diff -r a08284cf9e61 -r bdce2e1088df libcaca-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libcaca-dev/receipt Tue Mar 18 20:06:52 2014 +0000 @@ -0,0 +1,22 @@ +# SliTaz package receipt. + +PACKAGE="libcaca-dev" +VERSION="0.99.beta18" +CATEGORY="development" +SHORT_DESC="Text mode graphics utilities development files." +MAINTAINER="paul@slitaz.org" +LICENSE="GPL2" +WEB_SITE="http://caca.zoy.org/wiki/libcaca" +WANTED="libcaca" + +DEPENDS="libcaca" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/lib/*a $fs/usr/lib +} + diff -r a08284cf9e61 -r bdce2e1088df libcaca/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libcaca/receipt Tue Mar 18 20:06:52 2014 +0000 @@ -0,0 +1,42 @@ +# SliTaz package receipt. + +PACKAGE="libcaca" +VERSION="0.99.beta18" +CATEGORY="graphics" +SHORT_DESC="Text mode graphics utilities." +MAINTAINER="paul@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://caca.zoy.org/wiki/libcaca" +WGET_URL="http://caca.zoy.org/files/libcaca/$TARBALL" + +DEPENDS="ncurses imlib2" +BUILD_DEPENDS="ncurses-dev imlib2-dev xorg-libX11-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + $CONFIGURE_ARGS && + make + make DESTDIR=$DESTDIR install + + # hack for missing iso8859-1 folder + cook xorg-libX11 +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share/X11/locale + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/jni $fs/usr/lib + cp -a $install/usr/share $fs/usr + rm -rf $fs/usr/share/man + # hack for missing iso8859-1 folder + cp -a $WOK/xorg-libX11/install/usr/share/X11/locale/iso8859-1 \ + $fs/usr/share/X11/locale +} +