Blame docker-builder-data/build/script/packet/lz4-master.sh

e14835
DEPS=""
e14835
e14835
PK_DIRNAME="lz4"
e14835
PK_URL="https://github.com/Cyan4973/$PK_DIRNAME.git"
f26837
PK_GIT_CHECKOUT="tags/v1.7.5"
99b145
PK_LICENSE_FILES="LICENSE lib/LICENSE programs/COPYING tests/COPYING examples/COPYING"
e14835
99b145
source $INCLUDE_SCRIPT_DIR/inc-pkall-git.sh
e14835
e14835
pkbuild() {
e14835
    cd "$BUILD_PACKET_DIR/$PK_DIRNAME"
e14835
    if ! PREFIX=${INSTALL_PACKET_DIR} make -j${THREADS}; then
e14835
        return 1
e14835
    fi
e14835
}
e14835
e14835
pkinstall() {
e14835
    cd "$BUILD_PACKET_DIR/$PK_DIRNAME"
e14835
    if ! PREFIX=${INSTALL_PACKET_DIR} make install; then
e14835
        return 1
e14835
    fi
e14835
}