libquvi.mk (921B)
1 TARG = libquvi 2 DEPS = lua curl 3 4 <$mkbuild/mk.common-noinst 5 6 libquvi:QV: 7 export CFLAGS="$CFLAGS $DEPS_CFLAGS" 8 export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" 9 export liblua_CFLAGS="${lua_CFLAGS}" 10 export liblua_LIBS="${lua_LDFLAGS}" 11 export libcurl_CFLAGS="${curl_CFLAGS}" 12 export libcurl_LIBS="${curl_LDFLAGS}" 13 export libquvi_scripts_CFLAGS=" " 14 export libquvi_scripts_LIBS=" " 15 # 16 sed -i -E 's@^(scriptsdir=).*@\1/share/libquvi-scripts@g' configure 17 sed -i -E 's@^(versionfile=).*@\1/share/libquvi-scripts/version@g' configure 18 sed -i -E 's@^(scriptsmodver=).*@\1@g' configure 19 # 20 CC="$CC" ./configure \ 21 --prefix="$PREFIX" \ 22 --mandir="$ROOT/share/man" \ 23 --disable-shared \ 24 --enable-static 25 make -j$nprocs 26 # install lib for use as a dependency. 27 make -j$nprocs install DESTDIR="`pwd`/lib" 28 # remove .la files for now ? 29 find `pwd`/lib -iname "*.la" -exec rm {} \; 30 31 install:QV: 32 make -j$nprocs install DESTDIR="$ROOT"