patch -p1 weechat-defaults patch return autogen sh return configure --

1
2
3
4
patch -p1 < ../weechat-defaults.patch || return 1
./autogen.sh || return 1
./configure --prefix=/usr --with-debug=0 LDFLAGS="-lm -ldl" || return 1
make && make DESTDIR=${startdir}/pkg install || return 1