Репозиторий Sisyphus
Последнее обновление: 20 сентября 2019 | Пакетов: 17455 | Посещений: 15129646
en ru br
Репозитории ALT
S:0.0.4-alt2
5.1: 0.0.4-alt1
4.1: 0.0.4-alt1
4.0: 0.0.4-alt1
3.0: 0.0.4-alt1
www.altlinux.org/Changes

Группа :: Архивирование/Резервное копирование
Пакет: dvbackup

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: dvbackup-0.0.4-alt-build.patch
Скачать


--- Makefile.orig	2004-04-08 10:05:33 +0400
+++ Makefile	2004-04-08 10:07:17 +0400
@@ -1,6 +1,5 @@
 #Flags for fast code:
 #CFLAGS=-Wall -O3 -mcpu=i686 -fomit-frame-pointer 
-CFLAGS=-Wall -O3 -fomit-frame-pointer 
 
 #Flags for profiling:
 #CFLAGS=-Wall -O3 -pg
@@ -10,18 +10,13 @@
-#install into:
-install_dir=/usr/local/bin
 
-all: dvbackup dvconnect Makefile
+all: dvbackup Makefile
 
 dvconnect: dvconnect.c Makefile
 	gcc $(CFLAGS) -DHAVE_LIBPOPT $(HAVE_AVC1394) -o dvconnect dvconnect.c -lpopt -lpthread $(LIBAVC1394)
 
 dvbackup: dvbackup.c minilogo.c Makefile
-	gcc $(CFLAGS) -I/usr/include -o dvbackup dvbackup.c minilogo.c -lpopt -lm -lz
+	gcc $(CFLAGS) -I$(includedir) -o dvbackup dvbackup.c minilogo.c -lpopt -lm -lz
 
-install: dvbackup dvconnect
-	install dvbackup $(install_dir)
-	install dvconnect $(install_dir)
-	strip $(install_dir)/dvconnect
+install: dvbackup
+	install -D -m 755 dvbackup $(bindir)/dvbackup
-	strip $(install_dir)/dvbackup
 
 clean:
--- rsbep0.0.5/Makefile.orig	2003-08-04 18:47:36 +0400
+++ rsbep0.0.5/Makefile	2004-04-08 12:23:53 +0400
@@ -1,7 +1,4 @@
-CC=gcc
-CFLAGS=-O3 -fomit-frame-pointer
-
-all: rsbep dvr
+all: rsbep
 
 rsbep: rsbep.o rs32asm.o rs32.o Makefile
 	$(CC) $(CFLAGS) -o rsbep rsbep.o rs32.o rs32asm.o
@@ -23,10 +20,4 @@
 	rm rsbep
 
 install:
-	install rsbep           /usr/local/bin
-	strip                   /usr/local/bin/rsbep
-	install tar2dv.sh       /usr/local/bin
-	install dv2ver.sh 	/usr/local/bin
-	install dv2tar.sh       /usr/local/bin
-	install dvr             /usr/local/bin
-	strip           	/usr/local/bin/dvr
+	install -D -m 755 rsbep $(bindir)/rsbep
--- rsbep0.0.5/Makefile_plain_C.orig	2001-11-10 19:45:57 +0300
+++ rsbep0.0.5/Makefile_plain_C	2004-04-11 13:53:07 +0400
@@ -1,7 +1,4 @@
-CC=gcc
-CFLAGS=-O3 -fomit-frame-pointer
-
-all: rsbep dvr
+all: rsbep
 
 rsbep: rsbep.c rs.c rs.h Makefile
 	$(CC) $(CFLAGS) -o rsbep rsbep.c rs.c
@@ -13,16 +10,6 @@
 dvr: dvr.c
 	$(CC) -o dvr dvr.c
  
-clean:
-        rm *.o
-        rm rsbep
- 
 install:
-        install rsbep     /usr/local/bin
-        strip             /usr/local/bin/rsbep
-        install tar2dv.sh /usr/local/bin
-        install dv2ver.sh /usr/local/bin
-        install dv2tar.sh /usr/local/bin
-        install dvr       /usr/local/bin
-	strip 		  /usr/local/bin/dvr
+	install -D -m 755 rsbep $(bindir)/rsbep
 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin