# SliTaz package receipt. PACKAGE="simh" VERSION="3.12.3" CATEGORY="misc" TAGS="emulator PDP VAX Interdata Honeywell altair nova" SHORT_DESC="multi-system simulator." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL" WEB_SITE="http://simh.trailing-edge.com/" vers=${VERSION/./} vers=${vers/./-} TARBALL="${PACKAGE}-${VERSION}.zip" WGET_URL="${WEB_SITE}sources/${PACKAGE}v$vers.zip" BUILD_DEPENDS="libpcap-dev" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/simh/!d;/zip/!d;s|.*simhv\\(.*\\).zip.*\".*|\\1|;s|.|&.|;s|-|.|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { mkdir BIN make -j 1 } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp -a $src/BIN/* $fs/usr/bin }