wok diff udftools/receipt @ rev 16223
scim: fix post_install chroot
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 01 06:44:58 2014 +0000 (2014-04-01) |
parents | |
children | 1be66a08b81f |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/udftools/receipt Tue Apr 01 06:44:58 2014 +0000 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="udftools" 1.7 +VERSION="1.0.0b3" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="tools for UDF filesystems and DVD/CD-R(W) drives." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://linux-udf.sourceforge.net/" 1.14 +WGET_URL="$SF_MIRROR/linux-udf/$TARBALL" 1.15 + 1.16 +DEPENDS="ncurses readline" 1.17 +BUILD_DEPENDS="ncurses-dev readline-dev bash" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + sed -i 's/(char\*)spm += /spm = (char*)spm + /' wrudf/wrudf.c 1.23 + sed -i 's/<stdio.h>/&\n#include <limits.h>/' \ 1.24 + cdrwtool/cdrwtool.c pktsetup/pktsetup.c 1.25 + ./configure --prefix=/usr && 1.26 + make && 1.27 + make DESTDIR=$DESTDIR install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr 1.34 + cp -a $install/usr/bin $fs/usr 1.35 +}