#!/usr/bin/env beesh

# BEE_VERSION attr-2.4.48_p12_ff1b6ff-0

# more info: https://savannah.nongnu.org/projects/attr

# bee download "https://git.savannah.gnu.org/git/attr.git"

SRCURL[0]="/src/mariux/beeroot/downloads/attr-${PKGFULLVERSION}.tar.bz2"

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
#    bee_extract "${@}"
#}

#mee_patch() {
#    bee_patch "${@}"
#}

mee_configure() {
    # bug: bee_configure() will call autoreconf in ${B}
    cd ${S}
    bee_configure
}

mee_configure_post() {
    # bug: bee_configure() will call autoreconf
    start_cmd ${S}/configure ${DEFCONFIG} "$@" \
        --disable-silent-rules \
        --disable-nls
}

#mee_build() {
#    PS1='### mee_build() \w/# ' bash -norc
#    bee_build
#}

mee_install_post() {
    rm -vrf ${D}/usr/share/doc
}