Lines 5-27
Link Here
|
5 |
DESCRIPTION="GTK image viewer" |
5 |
DESCRIPTION="GTK image viewer" |
6 |
HOMEPAGE="http://shallowsky.com/software/pho/" |
6 |
HOMEPAGE="http://shallowsky.com/software/pho/" |
7 |
SRC_URI="http://shallowsky.com/software/${PN}/${P}.tar.gz" |
7 |
SRC_URI="http://shallowsky.com/software/${PN}/${P}.tar.gz" |
|
|
8 |
|
8 |
LICENSE="GPL-2" |
9 |
LICENSE="GPL-2" |
9 |
SLOT="0" |
10 |
SLOT="0" |
|
|
11 |
KEYWORDS="~amd64 ~ppc" |
12 |
IUSE="" |
10 |
|
13 |
|
11 |
KEYWORDS="~amd64" |
|
|
12 |
DEPEND="dev-util/pkgconfig |
14 |
DEPEND="dev-util/pkgconfig |
13 |
x11-libs/gtk+" |
15 |
x11-libs/gtk+" |
14 |
RDEPEND="x11-libs/gtk+" |
16 |
RDEPEND="x11-libs/gtk+" |
15 |
IUSE="" |
|
|
16 |
|
17 |
|
17 |
src_unpack() { |
18 |
src_unpack() { |
18 |
unpack ${A} |
19 |
unpack ${A} |
19 |
cd "${S}" |
20 |
cd "${S}" |
20 |
sed -i -e "s:-g -O -Wall:${CFLAGS}:" Makefile || die "sed fix of cflags failed" |
21 |
sed -i -e "s:-g -O -Wall:${CFLAGS}:" Makefile\ |
21 |
sed -i -e "s:-Wall -g -O2:${CFLAGS}:" exif/Makefile || die "sed fix of cflags2 failed" |
22 |
|| die "sed fix of cflags failed" |
|
|
23 |
sed -i -e "s:-Wall -g -O2:${CFLAGS}:" exif/Makefile\ |
24 |
|| die "sed fix of cflags2 failed" |
22 |
} |
25 |
} |
23 |
|
26 |
|
24 |
src_install() { |
27 |
src_install() { |
25 |
dobin pho || die "Install of pho binary failed" |
28 |
dobin pho || die "installation failed" |
26 |
doman pho.1 |
29 |
doman pho.1 |
27 |
} |
30 |
} |