summaryrefslogtreecommitdiff
path: root/academic/cld2/cld2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/cld2/cld2.SlackBuild')
-rw-r--r--academic/cld2/cld2.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/academic/cld2/cld2.SlackBuild b/academic/cld2/cld2.SlackBuild
index e3f560ee39..a44a88b234 100644
--- a/academic/cld2/cld2.SlackBuild
+++ b/academic/cld2/cld2.SlackBuild
@@ -77,7 +77,7 @@ cd $PRGNAM-$VERSION
cld2_generated_quadchrome0715.cc cld2_generated_deltaoctachrome0614.cc \
cld2_generated_distinctoctachrome0604.cc cld_generated_score_quad_octa_1024_256.cc \
-o libcld2.so
-
+
g++ -shared $SLKCFLAGS \
cldutil.cc cldutil_shared.cc compact_lang_det.cc compact_lang_det_hint_code.cc \
compact_lang_det_impl.cc debug.cc fixunicodevalue.cc \
@@ -89,11 +89,11 @@ cd $PRGNAM-$VERSION
cld2_generated_quad0720.cc cld2_generated_deltaocta0527.cc \
cld2_generated_distinctocta0527.cc cld_generated_score_quad_octa_1024_256.cc \
-o libcld2_full.so
-
+
g++ $SLKCFLAGS \
compact_lang_det_test.cc -I. -L. libcld2_full.so \
- -o cld2
-
+ -o cld2
+
install -D -m 0755 cld2 $PKG/usr/bin/cld2
install -D -m 0755 libcld2.so $PKG/usr/lib${LIBDIRSUFFIX}/libcld2.so
install -D -m 0755 libcld2_full.so $PKG/usr/lib${LIBDIRSUFFIX}/libcld2_full.so