Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Ebuild for Bangla Font support in Gentoo Linux
Date: Mon, 11 Aug 2003 11:55:37
Message-Id: 200308110755.38873.vapier@gentoo.org
In Reply to: [gentoo-dev] Ebuild for Bangla Font support in Gentoo Linux by Archan
1 On Monday 11 August 2003 04:16, Archan wrote:
2 > SRC_BASE="http://savannah.nongnu.org/download/freebangfont"
3 > SRC_URI="${SRC_BASE}/Akaash.pkg/0.8.5/Akaash-0.8.5.tar.gz
4 > ${SRC_BASE}/Ani.pkg/0.8.0/Ani-0.8.0.tar.gz
5 > ${SRC_BASE}/Likhan.pkg/0.5/Likhan-0.5.tar.gz
6 > ${SRC_BASE}/Sagar.pkg/0.6.0/Sagar-0.60.tar.gz"
7
8 might it be useful to split the pkg since each font appears to be version
9 tracked separately ?
10
11 > src_unpack() {
12 > cd ${S}
13 > for gz in ${A}; do
14 > tar -xzf ${DISTDIR}/${gz}
15 > done
16 > }
17
18 i think if you deleted this function all together the ebuild would work just
19 fine
20
21 > doins ${S}/Akaash/*ttf
22 > doins ${S}/ani/*ttf
23 > doins ${S}/Likhan-0.5/*ttf
24 > doins ${S}/Sagar/*ttf
25
26 since the default working directory of src_install is ${S}, you dont need to
27 prefix each of these paths
28
29 other than that, it looks good ... kind of cool to support Sanskrit based
30 languages ... wonder if we have nepali support hiding somewhere ...
31 -mike
32
33 --
34 gentoo-dev@g.o mailing list