wok annotate mikmod/receipt @ rev 21605
Up opus (1.3.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 23 13:26:20 2019 +0200 (2019-05-23) |
parents | 17e313b5b9c1 |
children | afae00265386 |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="mikmod" |
Hans-G?nter@21438 | 4 VERSION="3.2.8" |
pascal@13591 | 5 CATEGORY="multimedia" |
pascal@13591 | 6 SHORT_DESC="Mikmod module player." |
pascal@13591 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
Hans-G?nter@21438 | 9 WEB_SITE="http://mikmod.shlomifish.org/" |
Hans-G?nter@21438 | 10 |
pascal@13591 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21438 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" |
pascal@13591 | 13 |
Hans-G?nter@21438 | 14 DEPENDS="libmikmod ncurses" |
Hans-G?nter@21438 | 15 BUILD_DEPENDS="libmikmod-dev ncurses-dev" |
pascal@13591 | 16 |
pascal@13591 | 17 # Rules to configure and make the package. |
pascal@13591 | 18 compile_rules() |
pascal@13591 | 19 { |
pascal@17670 | 20 export LDFLAGS="$LDFLAGS -ltinfo" |
Hans-G?nter@21438 | 21 ./configure \ |
Hans-G?nter@21438 | 22 --prefix=/usr \ |
pascal@17670 | 23 $CONFIGURE_ARGS && |
Hans-G?nter@21438 | 24 make -j 1 && |
Hans-G?nter@21438 | 25 make install |
pascal@13591 | 26 } |
pascal@13591 | 27 |
pascal@13591 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 29 genpkg_rules() |
pascal@13591 | 30 { |
pascal@13591 | 31 mkdir -p $fs/usr/share |
Hans-G?nter@21438 | 32 |
Hans-G?nter@21438 | 33 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21438 | 34 cp -a $install/usr/share/mikmod $fs/usr/share |
pascal@13591 | 35 } |