--- /dev/null
+# ChangeLog for net-print/splix
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/splix/ChangeLog,v 1.1 2006/12/14 21:29:13 wschlich Exp $
+
+*splix-0.0.2 (14 Dec 2006)
+
+ 14 Dec 2006; Wolfram Schlich <wschlich@gentoo.org>
+ +files/fixMakefile.patch, +metadata.xml, +splix-0.0.2.ebuild:
+ import from sunrise
+
+ 08 Dec 2006; Jakub Moc <jakub@gentoo.org> splix-0.0.2.ebuild:
+ Fix bogus dependency
+
+ 08 Dec 2006; Jakub Moc <jakub@gentoo.org> splix-0.0.2.ebuild:
+ License is GPL-2, not GPL-1
+
+ 08 Dec 2006; Jakub Moc <jakub@gentoo.org> splix-0.0.2.ebuild,
+ files/fixMakefile.patch:
+ Fix patch, fix prestripped binary, fix crosscompile, move patch to
+ src_unpack(), other QA fixes.
+
+ 07 Dec 2006; jakobdettner <gentoo@dettner.de> +splix-0.0.2.ebuild,
+ +files/fixMakefile.patch, +metadata.xml:
+ New Ebuild for bug 157302 thanks.
+
--- /dev/null
+AUX fixMakefile.patch 887 RMD160 808cb12b2d704d53ac1ed8afdfa1fa596d6b12c9 SHA1 17a7a920d35a15f95bf165fece4e60ed0bb1f56a SHA256 a146a10895215a940369abd8e1428db3e5007502b4bf4bd731c9bb1d553256e4
+MD5 75b1db5569185bcf14ee3d7d553299f9 files/fixMakefile.patch 887
+RMD160 808cb12b2d704d53ac1ed8afdfa1fa596d6b12c9 files/fixMakefile.patch 887
+SHA256 a146a10895215a940369abd8e1428db3e5007502b4bf4bd731c9bb1d553256e4 files/fixMakefile.patch 887
+DIST splix-0.0.2.tar.bz2 27644 RMD160 6d7630c4572c1bcc0d84f20b05f142b83e355343 SHA1 7a390b3ccf45b92718e9af128f37f5792c344e17 SHA256 dbd292b3b429ade3582b3a965c0f1270d46919e461a6b39bfae203ec6c90f90d
+EBUILD splix-0.0.2.ebuild 899 RMD160 46522f61bf205fe8365d6bca1978b93870252979 SHA1 c176e26091f93c780a173f6ffdeda2e86aa42c6d SHA256 18d5f0a8216dee1446af95d0619c5d0778b231a2453775f862ee6ba20deec9a0
+MD5 7e8bb751df6980748c09478e9a2c72b8 splix-0.0.2.ebuild 899
+RMD160 46522f61bf205fe8365d6bca1978b93870252979 splix-0.0.2.ebuild 899
+SHA256 18d5f0a8216dee1446af95d0619c5d0778b231a2453775f862ee6ba20deec9a0 splix-0.0.2.ebuild 899
+MISC ChangeLog 898 RMD160 09ab736635e436f9f8c2398ab202561a3d2d4fcc SHA1 4ad4a524c331fc1b21a3bd40e68bc36e42f8dee0 SHA256 f932f601a8dcefde9eb60e579b0931b988742cc4438d902ea22571667b65b234
+MD5 07f71fc819803e5d8680deb21c505ebf ChangeLog 898
+RMD160 09ab736635e436f9f8c2398ab202561a3d2d4fcc ChangeLog 898
+SHA256 f932f601a8dcefde9eb60e579b0931b988742cc4438d902ea22571667b65b234 ChangeLog 898
+MISC metadata.xml 300 RMD160 3b9c1cd628f9d7ac94b68543ec737d5c2381a47e SHA1 33c5efd31a8aa789118535b921e211ffb5023ac3 SHA256 bc07a9aecce5770d1ace9af0a6c6af8ff6c7b16eb5e7947a1b178d1970855e43
+MD5 3a0673ad138a1626da8160385475f88e metadata.xml 300
+RMD160 3b9c1cd628f9d7ac94b68543ec737d5c2381a47e metadata.xml 300
+SHA256 bc07a9aecce5770d1ace9af0a6c6af8ff6c7b16eb5e7947a1b178d1970855e43 metadata.xml 300
+MD5 1fc7519b8823918576263d9c00200f5c files/digest-splix-0.0.2 235
+RMD160 52f432ba7de778d42058f4c787f9e7d86d6d1e79 files/digest-splix-0.0.2 235
+SHA256 0eca34d6615e714c836ac6b0094b48ce8325c6f34947d8033ec038037de9ef5f files/digest-splix-0.0.2 235
--- /dev/null
+MD5 18347dc3cf100895543311483d7e276d splix-0.0.2.tar.bz2 27644
+RMD160 6d7630c4572c1bcc0d84f20b05f142b83e355343 splix-0.0.2.tar.bz2 27644
+SHA256 dbd292b3b429ade3582b3a965c0f1270d46919e461a6b39bfae203ec6c90f90d splix-0.0.2.tar.bz2 27644
--- /dev/null
+diff -Nau Makefile.orig Makefile
+--- Makefile.orig 2006-11-11 14:26:28.000000000 +0100
++++ Makefile 2006-12-08 02:47:11.000000000 +0100
+@@ -4,10 +4,10 @@
+ # This project has been placed under the GPL Licence.
+ #
+
+-CXXFLAGS := -O2 `cups-config --cflags`
+-LDFLAGS := `cups-config --ldflags`
+-CUPSFILTER := `cups-config --serverbin`/filter
+-CUPSPPD := `cups-config --datadir`/model
++CXXFLAGS +=
++LDFLAGS +=
++CUPSFILTER := $(DESTDIR)`cups-config --serverbin`/filter
++CUPSPPD := $(DESTDIR)`cups-config --datadir`/model
+
+ # === DON'T CHANGE ANYTHING AFTER THIS MESSAGE ====
+
+--- src/Makefile.orig 2006-11-11 14:26:28.000000000 +0100
++++ src/Makefile 2006-12-08 02:56:14.000000000 +0100
+@@ -20,7 +20,7 @@
+ $(CXX) $(CXXFLAGS) -c $<
+
+ install: rastertospl2
+- install -m 755 -s rastertospl2 ${CUPSFILTER}
++ install -m 755 rastertospl2 ${CUPSFILTER}
+
+ .PHONY: clean distclean
+ clean:
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>wschlich@gentoo.org</email>
+ <name>Wolfram Schlich</name>
+ <description>Primary maintainer</description>
+</maintainer>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/splix/splix-0.0.2.ebuild,v 1.1 2006/12/14 21:29:13 wschlich Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A set of CUPS printer drivers for SPL (Samsung Printer Language) printers"
+HOMEPAGE="http://splix.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="net-print/cups"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/fixMakefile.patch
+}
+
+src_compile() {
+ emake CXX="$(tc-getCXX)" || die "emake failed"
+}
+
+src_install() {
+ CUPSFILTERDIR="$(cups-config --serverbin)/filter"
+ CUPSPPDDIR="$(cups-config --datadir)/model"
+
+ dodir "${CUPSFILTERDIR}"
+ dodir "${CUPSPPDDIR}"
+ emake DESTDIR="${D}" install || die "emake install failed"
+}