freebsd has no install, eek

v1
Tony Olagbaiye 3 years ago
parent 4e2bfee714
commit ec3e918712
No known key found for this signature in database
GPG Key ID: 9E2FF3BDEBDFC910

@ -11,7 +11,6 @@ LDLIBS=-lstrophe -lpthread $(shell xml2-config --libs) $(shell pkg-config --libs
PREFIX ?= /usr/local PREFIX ?= /usr/local
LIBDIR ?= $(PREFIX)/lib LIBDIR ?= $(PREFIX)/lib
INSTALL ?= /usr/bin/install
SRCS=plugin.c \ SRCS=plugin.c \
account.c \ account.c \
@ -59,8 +58,8 @@ tidy:
$(FIND) . -name "*.o" -delete $(FIND) . -name "*.o" -delete
clean: clean:
$(RM) $(OBJS) $(RM) -f $(OBJS)
$(MAKE) -C axc clean $(MAKE) -C axc clean || true
git submodule foreach --recursive git clean -xfd || true git submodule foreach --recursive git clean -xfd || true
git submodule foreach --recursive git reset --hard || true git submodule foreach --recursive git reset --hard || true
git submodule update --init --recursive || true git submodule update --init --recursive || true
@ -70,9 +69,13 @@ distclean: clean
install: xmpp.so install: xmpp.so
ifeq ($(shell id -u),0) ifeq ($(shell id -u),0)
$(INSTALL) -s -t $(DESTDIR)$(LIBDIR)/weechat/plugins -D -m 0644 xmpp.so mkdir -p $(DESTDIR)$(LIBDIR)/weechat/plugins
cp xmpp.so $(DESTDIR)$(LIBDIR)/weechat/plugins/xmpp.so
chmod 644 $(DESTDIR)$(LIBDIR)/weechat/plugins/xmpp.so
else else
$(INSTALL) -s -t ~/.weechat/plugins -D -m 0755 xmpp.so mkdir -p ~/.weechat/plugins
cp xmpp.so ~/.weechat/plugins/xmpp.so
chmod 755 ~/.weechat/plugins/xmpp.so
endif endif
.PHONY: tags cs .PHONY: tags cs

@ -43,13 +43,19 @@
- libstrophe (dynamic, dependency) - libstrophe (dynamic, dependency)
- libxml2 (dynamic, dependency) - libxml2 (dynamic, dependency)
- glib (dynamic, dependency of libomemo)
- sqlite (dynamic, dependency of libomemo/axc)
- libsignal-protocol-c (dynamic, dependency of axc)
- weechat (>= v2.5) - weechat (>= v2.5)
.. or just use the guix spec in .envrc
* Building * Building
#+begin_src sh #+begin_src sh
git clone git://github.com/bqv/weechat-xmpp.git git clone git://github.com/bqv/weechat-xmpp.git
cd weechat-xmpp cd weechat-xmpp
git submodule update --init --recursive
make make
make install make install
#+end_src #+end_src

Loading…
Cancel
Save