xsane: fix l10n dir
This commit is contained in:
parent
a061c693a8
commit
376f3788f2
1 changed files with 7 additions and 6 deletions
|
@ -1,8 +1,8 @@
|
|||
# Template file for 'xsane'
|
||||
pkgname=xsane
|
||||
version=0.999
|
||||
revision=3
|
||||
hostmakedepends="pkg-config"
|
||||
revision=4
|
||||
hostmakedepends="pkg-config sane-devel gettext"
|
||||
makedepends="gtk+-devel lcms-devel sane-devel gimp-devel"
|
||||
depends="sane"
|
||||
short_desc="GTK-based X11 frontend for SANE"
|
||||
|
@ -12,9 +12,11 @@ homepage="http://www.xsane.org"
|
|||
distfiles="${DEBIAN_SITE}/main/x/xsane/xsane_${version}.orig.tar.gz"
|
||||
checksum=5782d23e67dc961c81eef13a87b17eb0144cae3d1ffc5cf7e0322da751482b4b
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" sane-devel"
|
||||
fi
|
||||
post_patch() {
|
||||
vsed -i -e 's/DATADIRNAME=.*/DATADIRNAME=share/' \
|
||||
-e 's,/usr/local/include,/usr/include,' \
|
||||
configure
|
||||
}
|
||||
|
||||
do_build() {
|
||||
local _args="--prefix=/usr --sbindir=/usr/bin --mandir=/usr/share/man
|
||||
|
@ -26,7 +28,6 @@ do_build() {
|
|||
make clean
|
||||
echo "=== ./configure ${_args} --disable-gimp"
|
||||
./configure ${_args} --disable-gimp
|
||||
sed -i 's;/usr/local;/usr;g' src/Makefile
|
||||
make ${makejobs}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue