Skip to content

Commit

Permalink
Merge pull request #2917 from mariux64/update-smartmontools-7305090
Browse files Browse the repository at this point in the history
smartmontools: update from 6.6 to 7.3 master
  • Loading branch information
wwwutz authored Jun 12, 2023
2 parents 2f46520 + f46f532 commit 6ea0aa0
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions smartmontools.be0
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Expand Down

0 comments on commit 6ea0aa0

Please sign in to comment.