View | Details | Raw Unified
Collapse All | Expand All

(-) fig2sxd-0.13.ebuild (-3 / +3 lines)
 Lines 6-17    Link Here 
DESCRIPTION="A utility to convert files in xfig format to OpenOffice.org Draw format"
DESCRIPTION="A utility to convert files in xfig format to OpenOffice.org Draw format"
LICENSE="GPL-2"
LICENSE="GPL-2"
HOMEPAGE="http://sourceforge.net/projects/fig2sxd"
HOMEPAGE="http://sourceforge.net/projects/fig2sxd"
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.orig.tar.gz
SRC_URI="mirror://debian/pool/main/f/${PN}/${PN}_${PV}.orig.tar.gz
		 mirror://sourceforge/${PN}/${PN}_${PV}-1.diff.gz"
	 mirror://debian/pool/main/f/${PN}/${PN}_${PV}-1.1.diff.gz"
SLOT="0"
SLOT="0"
KEYWORDS="~x86"
KEYWORDS="~x86"
 Lines 21-31    Link Here 
# to the tarball name
# to the tarball name
S="${WORKDIR}/${P}.orig"
S="${WORKDIR}/${P}.orig"
src_unpack() {
src_unpack() {
	unpack ${A}
	unpack ${A}
	epatch "${WORKDIR}"/${PN}_${PV}-1.diff
	epatch "${WORKDIR}"/${PN}_${PV}-1.1.diff
}
}
src_compile() {
src_compile() {
	emake CXXF="${CXXFLAGS}" CXX="$(tc-getCXX)" || die "emake failed"
	emake CXXF="${CXXFLAGS}" CXX="$(tc-getCXX)" || die "emake failed"
}
}