w3m: extract image support to w3m-img.
This commit is contained in:
parent
51812409da
commit
9fcec3b3f1
|
@ -0,0 +1 @@
|
|||
w3m
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'w3m'
|
||||
pkgname=w3m
|
||||
version=0.5.3
|
||||
revision=9
|
||||
revision=10
|
||||
build_style=gnu-configure
|
||||
configure_args="
|
||||
--libexecdir=/usr/lib --enable-image=x11,fb --with-imagelib=imlib2
|
||||
|
@ -17,7 +17,7 @@ checksum=e994d263f2fd2c22febfbe45103526e00145a7674a0fda79c822b97c2770a9e3
|
|||
|
||||
disable_parallel_build=yes
|
||||
|
||||
LDFLAGS="-lX11"
|
||||
LDFLAGS="-Wl,--as-needed -lX11"
|
||||
|
||||
pre_build() {
|
||||
# build host mktable
|
||||
|
@ -29,3 +29,15 @@ pre_build() {
|
|||
sed -e 's,./mktable$(EXT),./host-mktable$(EXT),g' -i Makefile
|
||||
fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
rm -f ${DESTDIR}/usr/lib/w3m/xface2xpm
|
||||
}
|
||||
|
||||
w3m-img_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" -- image display support"
|
||||
pkg_install() {
|
||||
vmove /usr/lib/w3m/w3mimgdisplay
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue