Line
Link Here
|
0 |
-- PEAR-Image_Canvas-0.3.1.ebuild 2007-12-06 01:37:39.000000000 +0100 |
0 |
++ PEAR-Image_Canvas-0.3.1-new.ebuild 2008-04-21 21:54:55.000000000 +0200 |
Lines 11-18
Link Here
|
11 |
SLOT="0" |
11 |
SLOT="0" |
12 |
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" |
12 |
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" |
13 |
IUSE="" |
13 |
IUSE="" |
14 |
RDEPEND=">=dev-php/PEAR-Image_Color-1.0.0" |
14 |
RDEPEND=">=dev-php/PEAR-Image_Color-1.0.0 media-fonts/corefonts" |
15 |
|
15 |
|
16 |
pkg_setup() { |
16 |
pkg_setup() { |
17 |
require_gd |
17 |
require_gd |
18 |
} |
18 |
} |
|
|
19 |
|
20 |
pkg_postinst() { |
21 |
sed -e 's/\r$//' /usr/share/php/Image/Canvas/Fonts/fontmap.txt \ |
22 |
|cut -d',' -f2 \ |
23 |
|xargs -I'{}' ln -s /usr/share/fonts/corefonts/{} \ |
24 |
/usr/share/php/Image/Canvas/Fonts/{} |
25 |
} |