wok-current annotate par2/receipt @ rev 19520
gst-libav: update build deps
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Nov 23 21:58:48 2016 +0100 (2016-11-23) |
parents | d1768332cee0 |
children | 97e4114f1224 |
rev | line source |
---|---|
pascal@9280 | 1 # SliTaz package receipt. |
pascal@9280 | 2 |
pascal@9280 | 3 PACKAGE="par2" |
pascal@9280 | 4 SOURCE="par2cmdline" |
pascal@9280 | 5 VERSION="0.4" |
pascal@9562 | 6 CATEGORY="system-tools" |
pascal@9280 | 7 SHORT_DESC="Utility for posting and recovery of multi-part archives." |
pascal@9280 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15375 | 9 LICENSE="GPL2" |
pascal@9280 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@9280 | 11 WEB_SITE="http://parchive.sourceforge.net/" |
pascal@9280 | 12 WGET_URL="$SF_MIRROR/parchive/$TARBALL" |
pascal@15375 | 13 |
pascal@9283 | 14 DEPENDS="gcc-lib-base" |
pascal@9280 | 15 |
pascal@9280 | 16 # Rules to configure and make the package. |
pascal@9280 | 17 compile_rules() |
pascal@9280 | 18 { |
pascal@9280 | 19 cd $src |
pascal@9280 | 20 #http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/par2cmdline/files/par2cmdline-0.4-gcc4.patch |
slaxemulator@9700 | 21 patch -p1 < $stuff/par2cmdline-0.4-gcc4.patch || true |
pascal@9280 | 22 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@9280 | 23 --mandir=/usr/share/man \ |
pascal@9280 | 24 $CONFIGURE_ARGS && |
pascal@9280 | 25 make && |
pascal@15375 | 26 make DESTDIR=$DESTDIR install |
pascal@9280 | 27 } |
pascal@9280 | 28 |
pascal@9280 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9280 | 30 genpkg_rules() |
pascal@9280 | 31 { |
pascal@15375 | 32 cp -a $install/usr $fs |
pascal@9280 | 33 } |