forked from ports/contrib
easytag, mktorrent: new ports
This commit is contained in:
parent
4e29f1d9f2
commit
6be95bfb9b
6
easytag/.footprint
Normal file
6
easytag/.footprint
Normal file
@ -0,0 +1,6 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/easytag
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/easytag.1.gz
|
1
easytag/.md5sum
Normal file
1
easytag/.md5sum
Normal file
@ -0,0 +1 @@
|
||||
af37a0a34e4d0808aabb7a24cffc75ee easytag-2.0.tar.bz2
|
18
easytag/Pkgfile
Normal file
18
easytag/Pkgfile
Normal file
@ -0,0 +1,18 @@
|
||||
# Description: Tag editor for MP3 etc.
|
||||
# URL: http://easytag.sf.net/
|
||||
# Maintainer: Antti Nykänen, aon at iki dot fi
|
||||
# Depends on: gtk, id3lib
|
||||
# Nice to have: libogg, libvorbis, flac
|
||||
|
||||
name=easytag
|
||||
version=2.0
|
||||
release=1
|
||||
source=(http://dl.sf.net/easytag/easytag-$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd easytag-$version
|
||||
./configure --prefix=/usr --disable-nls
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
rm -rf $PKG/usr/share
|
||||
}
|
3
mktorrent/.footprint
Normal file
3
mktorrent/.footprint
Normal file
@ -0,0 +1,3 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/mktorrent
|
2
mktorrent/.md5sum
Normal file
2
mktorrent/.md5sum
Normal file
@ -0,0 +1,2 @@
|
||||
29931659e8f2fea0d29fb4db896520b5 mktorrent-0.2.diff
|
||||
71784666043fbd97c020fc62b3dcd972 mktorrent-0.2.tar.gz
|
17
mktorrent/Pkgfile
Normal file
17
mktorrent/Pkgfile
Normal file
@ -0,0 +1,17 @@
|
||||
# Description: BitTorrent metainfo file generator
|
||||
# URL: http://mktorrent.sf.net/
|
||||
# Maintainer: Antti Nykänen, aon at iki dot fi
|
||||
# Depends on:
|
||||
|
||||
name=mktorrent
|
||||
version=0.2
|
||||
release=1
|
||||
source=(http://dl.sf.net/mktorrent/mktorrent-$version.tar.gz
|
||||
mktorrent-$version.diff)
|
||||
|
||||
build() {
|
||||
cd mktorrent-$version
|
||||
patch -p1 -i $SRC/mktorrent-$version.diff
|
||||
make
|
||||
make DESTDIR=$PKG PREFIX=/usr install
|
||||
}
|
21
mktorrent/mktorrent-0.2.diff
Normal file
21
mktorrent/mktorrent-0.2.diff
Normal file
@ -0,0 +1,21 @@
|
||||
diff -uprN mktorrent-0.2.old/init.c mktorrent-0.2/init.c
|
||||
--- mktorrent-0.2.old/init.c 2007-02-25 22:50:11.000000000 +0200
|
||||
+++ mktorrent-0.2/init.c 2007-03-30 01:26:32.152281353 +0300
|
||||
@@ -213,7 +213,7 @@ static void print_help()
|
||||
"-o, --output=<filename> : set the path and filename of the created file\n"
|
||||
" default is <name>.torrent\n"
|
||||
"-p, --piece-length=<n> : set the piece length to 2^n bytes,\n"
|
||||
- " default is 18, that is 2^18 = 265kb.\n"
|
||||
+ " default is 18, that is 2^18 = 256kb.\n"
|
||||
"-v, --verbose : be verbose\n"
|
||||
"\nPlease send bug reports, patches, feature requests, praise and\n"
|
||||
"general gossip about the program to: esmil@imf.au.dk\n");
|
||||
@@ -249,7 +249,7 @@ void init(int argc, char *argv[])
|
||||
{"announce", 1, NULL, 'a'},
|
||||
{"comment", 1, NULL, 'c'},
|
||||
{"no-date", 0, NULL, 'd'},
|
||||
- {"help", 1, NULL, 'h'},
|
||||
+ {"help", 0, NULL, 'h'},
|
||||
{"name", 1, NULL, 'n'},
|
||||
{"output", 1, NULL, 'o'},
|
||||
{"piece-length", 1, NULL, 'p'},
|
Loading…
x
Reference in New Issue
Block a user