add dictionaries installation
This commit is contained in:
parent
762c9f0265
commit
a82c585c93
1 changed files with 9 additions and 0 deletions
|
@ -62,6 +62,15 @@ make -j3 PREFIX=$PREFIX
|
|||
# installation
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
# dictionaries
|
||||
DICOS="ods5.dawg twl06.dawg sowpods06.dawg"
|
||||
mkdir -p $PKG$PREFIX/share/$APP_NAME
|
||||
for d in $DICOS ; do
|
||||
[ ! -e $CWD/$d ] && \
|
||||
wget -c http://dl.sv.nongnu.org/releases/eliot/dict/$d -O $CWD/$d
|
||||
cp $CWD/$d $PKG$PREFIX/share/$APP_NAME/
|
||||
done
|
||||
|
||||
# correction
|
||||
cd $PKG
|
||||
chown -R root:root *
|
||||
|
|
Loading…
Add table
Reference in a new issue