| 1 | # Copyright 1999-2005 Gentoo Foundation |
1 | # Copyright 1999-2005 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/php-lib-r1.eclass,v 1.2 2005/09/11 16:39:10 hollow Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/php-lib-r1.eclass,v 1.3 2005/10/31 14:08:42 chtekk Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Stuart Herbert <stuart@gentoo.org> |
5 | # Author: Stuart Herbert <stuart@gentoo.org> |
| 6 | # |
6 | # |
| 7 | # The php-lib eclass provides a unified interface for adding new |
7 | # The php-lib eclass provides a unified interface for adding new |
| 8 | # PHP libraries. PHP libraries are PHP scripts designed for reuse inside |
8 | # PHP libraries. PHP libraries are PHP scripts designed for reuse inside |
| … | |
… | |
| 47 | shift |
47 | shift |
| 48 | |
48 | |
| 49 | for x in $@ ; do |
49 | for x in $@ ; do |
| 50 | SUBDIR="`dirname ${x}`" |
50 | SUBDIR="`dirname ${x}`" |
| 51 | insinto ${PHP_LIB_DIR}/${SUBDIR} |
51 | insinto ${PHP_LIB_DIR}/${SUBDIR} |
| 52 | doins ${S_DIR}/${x} |
52 | doins "${S_DIR}/${x}" |
| 53 | done |
53 | done |
| 54 | } |
54 | } |