Skip to content

Commit

Permalink
Merge pull request #3089 from mariux64/add-libthai
Browse files Browse the repository at this point in the history
libthai.so : added
  • Loading branch information
wwwutz authored Apr 2, 2024
2 parents b4d6330 + bd0e79b commit 1f554e1
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions libthai.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
#!/usr/bin/env beesh

# BEE_VERSION libthai-0.1.29-1

# more info: https://foo.bar.com

SRCURL[0]="https://github.com/tlwg/libthai/releases/download/v0.1.29/libthai-0.1.29.tar.xz"
SRCURL[1]="https://github.com/tlwg/libdatrie/releases/download/v0.2.13/libdatrie-0.2.13.tar.xz"

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

mee_configure_pre() {
# libdatrie
mkdir -p ${B}/libdatrie
cd ${B}/libdatrie

# ${S}/libdatrie-0.2.13/autogen.sh \
CFLAGS="-O2 -fPIC" \
${S}/libdatrie-0.2.13/configure \
--prefix=${B}/extras \
--disable-shared \
--disable-documentation \

make ${BEE_MAKEFLAGS}
make install
cd ${B}
}

mee_configure() {
# PKG_CONFIG_PATH=${B}/extras/lib/pkgconfig \
# DATRIE_LIBS="-L${B}/extras/lib ${B}/extras/lib/libdatrie.a" \

DATRIE_CFLAGS="-I${B}/extras/include" \
DATRIE_LIBS="-L${B}/extras/lib -l:libdatrie.a" \
bee_configure --disable-dict --disable-doxygen-doc
}

#mee_build() {
# bee_build
#}

#mee_install() {
# bee_install
#}

0 comments on commit 1f554e1

Please sign in to comment.