+ LDFLAGS+=" -landroid-glob"
+ CPPFLAGS+=" -D_typ_ssize_t=1"
+}
+
+termux_step_post_make_install() {
+ # Some binaries (dot_builtins, gvpack) links against these:
+ cd $TERMUX_PREFIX/lib
+ for lib in graphviz/*.so.*; do
+ ln -s -f $lib `basename $lib`
+ done
+}
+
+termux_step_create_debscripts () {
+ echo "#!$TERMUX_PREFIX/bin/sh" > postinst
+ echo "dot -c" >> postinst
+ echo "exit 0" >> postinst
+ chmod 0755 postinst