| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin-2.eclass,v 1.6 2012/06/10 14:21:20 hd_brummy Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin-2.eclass,v 1.7 2012/06/10 14:59:55 hd_brummy Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: vdr-plugin-2.eclass |
5 | # @ECLASS: vdr-plugin-2.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # vdr@gentoo.org |
7 | # vdr@gentoo.org |
| 8 | # @BLURB: common vdr plugin ebuild functions |
8 | # @BLURB: common vdr plugin ebuild functions |
| … | |
… | |
| 267 | sed -i ${f}/Makefile \ |
267 | sed -i ${f}/Makefile \ |
| 268 | -e 's:\$(wildcard[[:space:]]*\$(PODIR)/\*.po):\$(foreach dir,\$(LINGUAS),\$(wildcard \$(PODIR)\/\$(dir)\*.po)):' \ |
268 | -e 's:\$(wildcard[[:space:]]*\$(PODIR)/\*.po):\$(foreach dir,\$(LINGUAS),\$(wildcard \$(PODIR)\/\$(dir)\*.po)):' \ |
| 269 | || die "sed failed for Linguas" |
269 | || die "sed failed for Linguas" |
| 270 | done |
270 | done |
| 271 | |
271 | |
| 272 | strip-linguas ${PLUGIN_LINGUAS} |
272 | strip-linguas ${PLUGIN_LINGUAS} en |
| 273 | |
273 | |
| 274 | # maintainer check |
274 | # maintainer check |
| 275 | if [[ ! -d po ]]; then |
275 | if [[ ! -d po ]]; then |
| 276 | dev_check "po dir not found? May be in subdir? \n" |
276 | dev_check "po dir not found? May be in subdir? \n" |
| 277 | fi |
277 | fi |