diff --git a/smartmontools.be0 b/smartmontools.be0 index 9a22122b9..ca0891b4e 100755 --- a/smartmontools.be0 +++ b/smartmontools.be0 @@ -1,13 +1,14 @@ #!/usr/bin/env beesh -# BEE_VERSION smartmontools-6.6-2 +# BEE_VERSION smartmontools-7.3_p5090-1 -# SRCURL[0]="https://downloads.sourceforge.net/smartmontools/smartmontools-${PKGVERSION}.tar.gz" -SRCURL[0]="https://beehive.molgen.mpg.de/9ae2c6e7131cd2813edcc65cbe5f223f/smartmontools-6.6.tar.gz" +# bee download https://github.com/smartmontools/smartmontools.git +# mv /src/mariux/beeroot/downloads/smartmontools-0_t1676178797_c809cf46.tar.bz2 smartmontools-7.3_p5090.tar.bz2 +SRCURL[0]="https://beehive.molgen.mpg.de/4fbfffa22fba9215491ab42706df6aea/smartmontools-7.3_p5090.tar.bz2" -# PATCHURL+=() +BEE_BUILDTYPE=autogen -# EXCLUDE+=() +# PATCHURL+=() # build_in_sourcedir @@ -19,21 +20,23 @@ SRCURL[0]="https://beehive.molgen.mpg.de/9ae2c6e7131cd2813edcc65cbe5f223f/smartm # bee_patch "${@}" #} +mee_configure_pre() { + cd ${S}/smartmontools + ./autogen.sh +} + mee_configure() { - bee_configure \ - --with-systemdsystemunitdir=no \ - --with-initscriptdir=no \ - --with-smartdplugindir=no + ${S}/smartmontools/configure --prefix=/usr --with-systemdsystemunitdir=no --with-initscriptdir=no --with-smartdplugindir=no } -#mee_build() { -# bee_build -#} +mee_build() { + make +} mee_install() { - bee_install + make install DESTDIR="${D}" rm -vrf ${D}/usr/share/doc - rm -vrf ${D}/etc + rm -vrf ${D}/usr/etc rm -vrf ${D}/usr/share/man/man5 rm -vf ${D}/usr/sbin/{smartd,update-smart-drivedb} rm -vf ${D}/usr/share/man/man8/{smartd,update-smart-drivedb}.8