Receipt for: gujin
source
PACKAGE="gujin"
VERSION="2.8.7"
CATEGORY="base-system"
SHORT_DESC="Graphical real-mode bootloader."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://sourceforge.net/projects/gujin/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
DEPENDS=""
BUILD_DEPENDS=""
current_version()
{
wget -O - https://sourceforge.net/projects/gujin/files/gujin/ 2>/dev/null | \
sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
sed '/scope="row/!d;s|.*/gujin/||;s|/.*||;q'
}
compile_rules()
{
make -j 1 &&
make DESTDIR=$DESTDIR install
}
genpkg_rules()
{
cp -a $install/sbin $fs
}