wok-next rev 19755
Up lzo, btrfs-progs.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jun 09 01:22:21 2017 +0300 (2017-06-09) |
parents | 9b82f2f67b15 |
children | 81d75af45362 |
files | btrfs-dev/receipt btrfs-libs/receipt btrfs-mkfs/receipt btrfs-progs/receipt lzo-dev/receipt lzo/receipt |
line diff
1.1 --- a/btrfs-dev/receipt Fri Jun 09 00:29:33 2017 +0300 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,18 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="btrfs-dev" 1.7 -VERSION="4.1.2" 1.8 -CATEGORY="development" 1.9 -SHORT_DESC="Btrfs Filesystem development files." 1.10 -MAINTAINER="pascal.bellard@slitaz.org" 1.11 -LICENSE="GPL2" 1.12 -WEB_SITE="http://btrfs.wiki.kernel.org/" 1.13 -WANTED="btrfs-progs" 1.14 - 1.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 -genpkg_rules() 1.17 -{ 1.18 - mkdir -p $fs/usr/lib 1.19 - cp -a $install/usr/include $fs/usr 1.20 - cp -a $install/usr/lib/*a $fs/usr/lib 1.21 -}
2.1 --- a/btrfs-libs/receipt Fri Jun 09 00:29:33 2017 +0300 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,17 +0,0 @@ 2.4 -# SliTaz package receipt. 2.5 - 2.6 -PACKAGE="btrfs-libs" 2.7 -VERSION="4.1.2" 2.8 -CATEGORY="system-tools" 2.9 -SHORT_DESC="Btrfs Filesystem lib." 2.10 -MAINTAINER="pascal.bellard@slitaz.org" 2.11 -LICENSE="GPL2" 2.12 -WEB_SITE="http://btrfs.wiki.kernel.org/" 2.13 -WANTED="btrfs-progs" 2.14 - 2.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.16 -genpkg_rules() 2.17 -{ 2.18 - mkdir -p $fs/usr/lib 2.19 - cp -a $install/usr/lib/*.so* $fs/usr/lib 2.20 -}
3.1 --- a/btrfs-mkfs/receipt Fri Jun 09 00:29:33 2017 +0300 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,17 +0,0 @@ 3.4 -# SliTaz package receipt. 3.5 - 3.6 -PACKAGE="btrfs-mkfs" 3.7 -VERSION="4.1.2" 3.8 -CATEGORY="system-tools" 3.9 -SHORT_DESC="Btrfs Filesystem creation tool." 3.10 -MAINTAINER="pascal.bellard@slitaz.org" 3.11 -LICENSE="GPL2" 3.12 -WEB_SITE="http://btrfs.wiki.kernel.org/" 3.13 -WANTED="btrfs-progs" 3.14 - 3.15 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.16 -genpkg_rules() 3.17 -{ 3.18 - mkdir -p $fs/usr/bin 3.19 - cp -a $install/usr/bin/mkfs.btrfs $fs/usr/bin 3.20 -}
4.1 --- a/btrfs-progs/receipt Fri Jun 09 00:29:33 2017 +0300 4.2 +++ b/btrfs-progs/receipt Fri Jun 09 01:22:21 2017 +0300 4.3 @@ -1,38 +1,55 @@ 4.4 -# SliTaz package receipt. 4.5 +# SliTaz package receipt v2. 4.6 4.7 PACKAGE="btrfs-progs" 4.8 -VERSION="4.1.2" 4.9 +VERSION="4.9.1" 4.10 CATEGORY="system-tools" 4.11 -SHORT_DESC="Btrfs Filesystem user space tools." 4.12 +SHORT_DESC="Btrfs Filesystem" 4.13 MAINTAINER="pascal.bellard@slitaz.org" 4.14 LICENSE="GPL2" 4.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 4.16 -WEB_SITE="http://btrfs.wiki.kernel.org/" 4.17 -WGET_URL="git|git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git" 4.18 -TAGS="filesystem fault-tolerance" 4.19 -PROVIDE="btrfs-tools" 4.20 +WEB_SITE="https://btrfs.wiki.kernel.org/index.php/Main_Page" 4.21 4.22 -DEPENDS="util-linux-uuid zlib acl util-linux-blkid lzo btrfs-mkfs" 4.23 +TARBALL="$PACKAGE-$VERSION.tar.gz" 4.24 +WGET_URL="https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git/snapshot/$TARBALL" 4.25 + 4.26 BUILD_DEPENDS="util-linux-uuid-dev e2fsprogs e2fsprogs-dev zlib-dev acl-dev \ 4.27 -git util-linux-blkid-dev lzo-dev autoconf automake" 4.28 +util-linux-blkid-dev lzo-dev autoconf automake" 4.29 +SPLIT="btrfs-libs btrfs-mkfs btrfs-dev" 4.30 4.31 # Rules to configure and make the package. 4.32 compile_rules() 4.33 { 4.34 ./autogen.sh 4.35 - ./configure --prefix=/usr \ 4.36 + ./configure \ 4.37 + --prefix=/usr \ 4.38 --sysconfdir=/etc \ 4.39 --disable-documentation \ 4.40 $CONFIGURE_ARGS && 4.41 make && 4.42 - make DESTDIR=$DESTDIR prefix=/usr -j 1 install 4.43 + make DESTDIR=$DESTDIR prefix=/usr -j1 install 4.44 } 4.45 4.46 # Rules to gen a SliTaz package suitable for Tazpkg. 4.47 genpkg_rules() 4.48 { 4.49 - mkdir -p $fs/usr 4.50 - cp -a $install/usr/bin $fs/usr 4.51 - # Split mkfs --> btrfs-mkfs 4.52 - rm $fs/usr/bin/mkfs.btrfs 4.53 + case $PACKAGE in 4.54 + btrfs-progs) 4.55 + copy bin/ 4.56 + rm $fs/usr/bin/mkfs.btrfs 4.57 + TAGS="filesystem fault-tolerance" 4.58 + PROVIDE="btrfs-tools" 4.59 + DEPENDS="e2fsprogs libcomerr lzo util-linux-blkid util-linux-uuid \ 4.60 + zlib acl btrfs-mkfs" 4.61 + ;; 4.62 + btrfs-libs) 4.63 + copy *.so* 4.64 + CATEGORY="system-tools|library" 4.65 + DEPENDS="lzo util-linux-blkid util-linux-uuid zlib" 4.66 + ;; 4.67 + btrfs-mkfs) 4.68 + copy mkfs.btrfs 4.69 + CAT="system-tools|creation tool" 4.70 + DEPENDS="lzo util-linux-blkid util-linux-uuid zlib" 4.71 + ;; 4.72 + *-dev) copy @dev;; 4.73 + esac 4.74 }
5.1 --- a/lzo-dev/receipt Fri Jun 09 00:29:33 2017 +0300 5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 5.3 @@ -1,18 +0,0 @@ 5.4 -# SliTaz package receipt. 5.5 - 5.6 -PACKAGE="lzo-dev" 5.7 -VERSION="2.09" 5.8 -CATEGORY="development" 5.9 -SHORT_DESC="Data compression development library." 5.10 -MAINTAINER="erjo@slitaz.org" 5.11 -LICENSE="GPL2" 5.12 -WEB_SITE="http://www.oberhumer.com/opensource/lzo/download/" 5.13 -HOST_ARCH="i486 arm" 5.14 - 5.15 -WANTED="lzo" 5.16 - 5.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 5.18 -genpkg_rules() 5.19 -{ 5.20 - cook_copy_files *.h *.la 5.21 -}
6.1 --- a/lzo/receipt Fri Jun 09 00:29:33 2017 +0300 6.2 +++ b/lzo/receipt Fri Jun 09 01:22:21 2017 +0300 6.3 @@ -1,7 +1,7 @@ 6.4 -# SliTaz package receipt. 6.5 +# SliTaz package receipt v2. 6.6 6.7 PACKAGE="lzo" 6.8 -VERSION="2.09" 6.9 +VERSION="2.10" 6.10 CATEGORY="system-tools" 6.11 SHORT_DESC="Data compression library" 6.12 MAINTAINER="erjo@slitaz.org" 6.13 @@ -12,6 +12,8 @@ 6.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 6.15 WGET_URL="${WEB_SITE}download/$TARBALL" 6.16 6.17 +SPLIT="lzo-dev" 6.18 + 6.19 # Rules to configure and make the package. 6.20 compile_rules() 6.21 { 6.22 @@ -26,5 +28,8 @@ 6.23 # Rules to gen a SliTaz package suitable for Tazpkg. 6.24 genpkg_rules() 6.25 { 6.26 - cook_copy_files *.so* 6.27 + case $PACKAGE in 6.28 + lzo) copy @std;; 6.29 + *-dev) copy @dev;; 6.30 + esac 6.31 }