# SliTaz package receipt. PACKAGE="crosstool-ng" VERSION="1.24.0" CATEGORY="development" SHORT_DESC="Tool to Build toolchains." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://crosstool-ng.github.io/" WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$TARBALL" DEPENDS="slitaz-toolchain ncursesw" BUILD_DEPENDS="subversion flex cvs gawk texinfo ncurses-dev automake libtool \ gperf wget xz help2man file" current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/crosstool-ng-\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./bootstrap ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/usr $fs }