wok annotate buildroot/receipt @ rev 21115
libaio: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 19 18:51:13 2019 +0100 (2019-03-19) |
parents | dfef8de3d270 |
children | fa44252c430c |
rev | line source |
---|---|
pascal@11218 | 1 # SliTaz package receipt. |
pascal@11218 | 2 |
pascal@11218 | 3 PACKAGE="buildroot" |
pascal@17309 | 4 VERSION="2014.08" |
pascal@11218 | 5 CATEGORY="development" |
pascal@11218 | 6 SHORT_DESC="Tools to build toolchains and root filesystems with uClibc." |
pascal@11218 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
pascal@11218 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11218 | 10 WEB_SITE="http://www.buildroot.org/" |
pascal@11218 | 11 WGET_URL="${WEB_SITE}downloads/$TARBALL" |
pascal@17310 | 12 SUGGESTED="subversion bazaar git elfkickers ccache bison flex gettext texinfo" |
pascal@15579 | 13 |
pascal@17317 | 14 DEPENDS="slitaz-toolchain ncurses-dev ncurses wget ncursesw-extra tar \ |
pascal@19242 | 15 bash bzip2 perl python unzip rsync bc patch" |
pascal@11218 | 16 |
pascal@11218 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11218 | 18 genpkg_rules() |
pascal@11218 | 19 { |
pascal@11218 | 20 mkdir -p $fs/usr/lib |
pascal@11218 | 21 cp -a $src $fs/usr/lib/buildroot |
pascal@11218 | 22 } |
pascal@11218 | 23 |
pascal@11218 | 24 # Pre and post install commands for Tazpkg. |
pascal@11218 | 25 post_install() |
pascal@11218 | 26 { |
pascal@17552 | 27 [ -L $1/usr/bin/wget ] && chroot "$1/" tazpkg get-install wget --forced |
pascal@11218 | 28 cat <<EOT |
pascal@11218 | 29 Now you can do: |
pascal@11218 | 30 $ cd /usr/lib/buildroot |
pascal@11218 | 31 $ make menuconfig |
pascal@11218 | 32 EOT |
pascal@11218 | 33 } |
pascal@11218 | 34 |