Exemple #1
0
def build():
    # Flashplugin hack for Opera, see pardus #13989
    autotools.compile(
        "-shared -fPIC -L/opt/netscape/plugins/ -lflashplayer \
                       -o libflashplayer.so -Wl,-rpath \
                       /opt/netscape/plugins/ opera-flash-workaround.c"
    )
Exemple #2
0
def build():
    cmaketools.make()

    # build libmysqld.so
    shelltools.makedirs("libmysqld/work")
    shelltools.cd("libmysqld/work")

    shelltools.system("ar -x ../libmysqld.a")
    shelltools.unlink("sql_binlog.cc.o")
    shelltools.unlink("rpl_utility.cc.o")
    autotools.compile("%s -shared -Wl,-soname,libmysqld.so.0 -o libmysqld.so.0.0.1 *.o \
                          -pthread -laio -lcrypt -lssl -lcrypto -lz -lrt -lstdc++ -ldl -ldm -lc" % get.LDFLAGS())
Exemple #3
0
def build():
    cmaketools.make()

    # build libmysqld.so
    shelltools.makedirs("libmysqld/work")
    shelltools.cd("libmysqld/work")

    shelltools.system("ar -x ../libmysqld.a")
    shelltools.unlink("sql_binlog.cc.o")
    shelltools.unlink("rpl_utility.cc.o")
    autotools.compile(
        "%s -shared -Wl,-soname,libmysqld.so.0 -o libmysqld.so.0.0.1 *.o \
                          -pthread -laio -lcrypt -lssl -lcrypto -lz -lrt -lstdc++ -ldl -ldm -lc"
        % get.LDFLAGS())
Exemple #4
0
def build():
    autotools.compile("-o rpmoffset rpmoffset.c")
Exemple #5
0
def build():
    autotools.compile('-DLOCALEDIR="\\"/usr/share/locale\\"" -lm -llcms -ljpeg -o dcraw dcraw.c')
Exemple #6
0
def build():
    autotools.compile(
        "%s -shared -fPIC -Wl,--soname,libpnglite.so.0 -o libpnglite.so.0.1 pnglite.c -lz"
        % get.LDFLAGS())
Exemple #7
0
def build():
    autotools.compile("-I/usr/include/dvdread -o dvdbackup src/dvdbackup.c -ldvdread")
Exemple #8
0
def build():
    # Flashplugin hack for Opera, see pardus #13989
    autotools.compile("-shared -fPIC -L/opt/netscape/plugins/ -lflashplayer \
                       -o libflashplayer.so -Wl,-rpath \
                       /opt/netscape/plugins/ opera-flash-workaround.c")
Exemple #9
0
def build():
    autotools.compile("-o rpmoffset rpmoffset.c")
Exemple #10
0
def build():
    autotools.compile("-Wall %s -o intel-microcode2ucode intel-microcode2ucode.c" % get.CFLAGS())
    shelltools.system("./intel-microcode2ucode ./microcode.dat")
Exemple #11
0
def build():
	autotools.compile('-DLOCALEDIR="\\"/usr/share/locale\\"" -lm -ljasper -llcms2 -ljpeg -o dcraw dcraw.c')
Exemple #12
0
def build():
    autotools.compile(
        "-Wall %s -o intel-microcode2ucode intel-microcode2ucode.c" %
        get.CFLAGS())
    shelltools.system("./intel-microcode2ucode ./microcode.dat")
Exemple #13
0
def build():
    autotools.compile("%s -shared -fPIC -Wl,--soname,libpnglite.so.0 -o libpnglite.so.0.1 pnglite.c -lz" % get.LDFLAGS())
Exemple #14
0
def build():
    autotools.make("CCOPT='%s -fpie' CC=%s" % (get.CFLAGS(), get.CC()))

    autotools.compile("ifenslave.c -o ifenslave")
Exemple #15
0
def build():
    autotools.make("CCOPT='%s -fpie' CC=%s" % (get.CFLAGS(), get.CC()))

    autotools.compile("ifenslave.c -o ifenslave")