Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 389004 Details for
Bug 528828
New ebuild for fpdf library
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
fpdf-1.7.ebuild
fpdf-1.7.ebuild (text/plain), 1.79 KB, created by
Michele Schiavo
on 2014-11-10 15:16:38 UTC
(
hide
)
Description:
fpdf-1.7.ebuild
Filename:
MIME Type:
Creator:
Michele Schiavo
Created:
2014-11-10 15:16:38 UTC
Size:
1.79 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit php-lib-r1 > >DESCRIPTION="Free PDF PHP Library." >HOMEPAGE="http://www.fpdf.org/" >LICENSE="public-domain" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="" > >MY_PV="17" >SRC_URI="http://fpdf.de/downloads/${PN}${MY_PV}.tgz" >S="${WORKDIR}/${PN}${MY_PV}" > ># Using nomirror because it is not mirrored in gentoo distfiles yet. >RESTRICT="nomirror fetch" > >RDEPEND="${RDEPEND}" > >need_php_by_category > >pkg_nofetch() { > einfo "This source package cannot be automatically downloaded by portage." > einfo "Point your browser to the URL below and save the downloaded file as" > einfo " ${DISTDIR}${MY_P}" > einfo "to continue." > einfo "" > einfo "URL: ${SRC_URI}" >} > >src_unpack() { > # First handle the messed up name of the download > # cd ${DISTDIR} > # mv dl.php?v=153\&f=tgz fpdf153.tgz > > # einfo unpack {$A} {$MY_P} > # unpack {$A} > # mkdir ${S} > # mkdir -p ${S} > # cd ${S} > unpack ${A} > > # Permissions in the default package are not secure, fix them now. > find ${S} -name "*.php" -exec chmod 644 {} \; > find ${S} -name "*.map" -exec chmod 644 {} \; >} > >src_install() { > > cd ${S} > > # Handle the documentation > local docs="FAQ.htm fpdf.css install.txt" > dodoc ${docs} > # And the general documentation for the api > docinto doc > cd doc > dodoc `ls -1` > > docinto tutorial > cd ../tutorial > dodoc `ls -1` > > # First handle the fonts > cd ${S} > mkdir -p ${D}/usr/share/php5/fpdf/font > fperms 775 /usr/share/php5/fpdf/font > cd font > cp -pPR * ${D}/usr/share/php5/fpdf/font > # The default permissions for the files are pretty crappy. Let's fix them > # up before the install finishes > > # Done with the fonts > cd ${S} > insopts -m0644 > insinto /usr/share/php5/fpdf > doins fpdf.php > ln -s "${D}/usr/share/php5/fpdf/fpdf.php" "${D}usr/share/php5/" >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 528828
: 389004