Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 32008 Details for
Bug 52013
app-i18n/gallery-i18n-1.4.3_p1.ebuild: Separate ebuild for gallery language packs for gallery-1.4.3_p1.ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Language packs for app-misc/gallery
gallery-i18n-1.4.3_p1.ebuild (text/plain), 1.29 KB, created by
Urs Joss
on 2004-05-25 07:51:00 UTC
(
hide
)
Description:
Language packs for app-misc/gallery
Filename:
MIME Type:
Creator:
Urs Joss
Created:
2004-05-25 07:51:00 UTC
Size:
1.29 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit webapp-apache > >MY_PV=${PV/_p/-pl} >GAL_P=${P/-i18n/} >GAL_PN=${PN/-i18n/} >GAL_DEST=$GAL_PN/locale > >DESCRIPTION="Gallery i18n files" >HOMEPAGE="http://gallery.sourceforge.net/" >LICENSE="GPL-2" >KEYWORDS="~x86" >DEPEND="~app-misc/${GAL_P}" > >IUSE="" >SLOT="0" > >LANGS="af_ZA bg_BG ca_ES cs_CZ.iso-8859-2 da_DK de_DE en_GB >es_ES fi_FI fr_FR he_IL.utf8 hu_HU is_IS it_IT ja_JP ko_KR >lt_LT nl_NL no_NO pl_PL pt_BR pt_PT ru_RU ru_RU.koi8r sl_SI >sv_SE tr_TR uk_UA vi_VN zh_CN zh_TW zh_TW.utf8" > >BASEDIR="mirror://sourceforge/gallery/" > ># Define the LINGUAS environment variable to contain which langauge(s) you ># would like for this ebuild to download and install > >for pkg in ${LANGS} >do > SRC_URI="${SRC_URI} linguas_${pkg}? ( ${BASEDIR}/${pkg}-${MY_PV}.tar.gz)" >done > > >pkg_setup() { > webapp-detect || NO_WEBSERVER=1 > einfo "Installing into ${ROOT}${HTTPD_ROOT}/gallery/locale." >} > > >src_install() { > webapp-mkdirs > > local DocumentRoot=${HTTPD_ROOT} > local destdir=${DocumentRoot}${GAL_DEST} > > local _S=${S} > dodir $destdir > for dir in `ls ${WORKDIR}`; do > cp -r ${WORKDIR}/${dir} ${D}${destdir} > done > cd ${D}${destdir} > chown -R ${HTTPD_USER}:${HTTPD_GROUP} ${dir} > S=${_S} >} >
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 52013
: 32008